Documentation
¶
Index ¶
- func AllService() map[string]*api.AgentService
- func GetGrpcConn(consulConn *api.Client, name string) (*grpc.ClientConn, error)
- func GetHealthService(cli *api.Client, serviceName string) (*api.AgentService, error)
- func Register(addr string, port int, name string, tags []string, id string)
- func UnRegister()
- type Discovery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllService ¶
func AllService() map[string]*api.AgentService
func GetGrpcConn ¶
func GetHealthService ¶
func UnRegister ¶
func UnRegister()
Types ¶
Click to show internal directories.
Click to hide internal directories.