Documentation
¶
Index ¶
- func GetInstance(serviceName, gcpProject, gcpRegion, namespace string) (*servicedirectorypb.Endpoint, error)
- func GetInstanceWithConsul(serviceName, consulHost, consulPort string) *consulapi.ServiceEntry
- func RegisterService(serviceName, grpcAddr, gcpProject, gcpRegion, namespace string)
- func RegisterServiceWithConsul(serviceName, grpcAddr, consulHost, consulPort string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInstance ¶
func GetInstance(serviceName, gcpProject, gcpRegion, namespace string) (*servicedirectorypb.Endpoint, error)
func GetInstanceWithConsul ¶
func GetInstanceWithConsul(serviceName, consulHost, consulPort string) *consulapi.ServiceEntry
func RegisterService ¶ added in v0.1.24
func RegisterService(serviceName, grpcAddr, gcpProject, gcpRegion, namespace string)
func RegisterServiceWithConsul ¶
func RegisterServiceWithConsul(serviceName, grpcAddr, consulHost, consulPort string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.