C# Class ServiceStack.Discovery.Consul.ConsulRegisterCheck

Inheritance: IUrlFilter
ファイルを表示 Open project: MacLeanElectrical/servicestack-discovery-consul Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
ConsulRegisterCheck ( string name, string serviceId = null ) : System.Runtime.Serialization

Creates a new health check in consul

ToUrl ( string absoluteUrl ) : string

Method Details

ConsulRegisterCheck() public method

Creates a new health check in consul
public ConsulRegisterCheck ( string name, string serviceId = null ) : System.Runtime.Serialization
name string The name to use for the health check in consul
serviceId string The Id of service to associate this health check with
return System.Runtime.Serialization

ToUrl() public method

public ToUrl ( string absoluteUrl ) : string
absoluteUrl string
return string