Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { ID string Name string // Endpoint represents the IP address of this program is running Endpoint string Weight int Port int }
Service represents a service
func Get ¶
Get will return the best service based on the name and tag If the tag provides more than one, it will only pick the first one If the tag does not provide, the service will be picked based on the current environment(prefix of configs)
Click to show internal directories.
Click to hide internal directories.