Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Host ¶
Host finds the specified host for a service based off of the service's name and which interface you are accessing. Values are found in environment variables fitting the scheme: SERVICE_{SERVICE NAME}_{INTERFACE NAME}_HOST.
func HostPort ¶
HostPort finds the specified host:port combo for a service based off of the service's name and which interface you are accessing. Values are found in environment variables fitting the scheme: SERVICE_{SERVICE NAME}_{INTERFACE NAME}_{PROTO,HOST,PORT}.
func Port ¶
Port finds the specified port for a service based off of the service's name and which interface you are accessing. Values are found in environment variables fitting the scheme: SERVICE_{SERVICE NAME}_{INTERFACE NAME}_PORT.
func Proto ¶
Proto finds the specified protocol for a service based off of the service's name and which interface you are accessing. Values are found in environment variables fitting the scheme: SERVICE_{SERVICE NAME}_{INTERFACE NAME}_PROTO.
Types ¶
This section is empty.