Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEnvWithFallback ¶
getEnvWithFallback - Returns an envirable variable's value from its name or a default value if the variable isn't set
func NitricAddress ¶
func NitricAddress() string
nitricAddress - constructs the full address i.e. host:port, of the nitric service based on config or defaults
func NitricHost ¶
func NitricHost() string
nitricPort - retrieves the environment variable which specifies the host (e.g. 127.0.0.1) of the nitric service
if the env var isn't set, returns the default host
func NitricPort ¶
func NitricPort() string
nitricPort - retrieves the environment variable which specifies the port (e.g. 50051) of the nitric service
if the env var isn't set, returns the default port
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.