Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CatchPanic ¶ added in v0.0.7
func CatchPanic()
func LoadEnvironmentVariables ¶ added in v0.0.7
func LoadEnvironmentVariables()
func LoadOverrides ¶ added in v0.0.7
func LoadOverrides()
func LoadService ¶ added in v0.0.7
func LoadService()
Types ¶
type Configuration ¶ added in v0.0.7
type Configuration struct {
Endpoints []EndpointOverride
}
type EndpointOverride ¶ added in v0.0.7
type INetworkEndpoint ¶ added in v0.0.7
type INetworkEndpoint interface { IsPresent() bool WithDefault(backup string) INetworkEndpoint Host() string PortAddress() string }
func Endpoint ¶
func Endpoint(name string) INetworkEndpoint
type NetworkEndpoint ¶
type NetworkEndpoint struct {
Values []string
}
func (*NetworkEndpoint) Host ¶
func (e *NetworkEndpoint) Host() string
func (*NetworkEndpoint) IsPresent ¶ added in v0.0.7
func (e *NetworkEndpoint) IsPresent() bool
func (*NetworkEndpoint) PortAddress ¶
func (e *NetworkEndpoint) PortAddress() string
func (*NetworkEndpoint) WithDefault ¶
func (e *NetworkEndpoint) WithDefault(backup string) INetworkEndpoint
type NetworkEndpointNotFound ¶ added in v0.0.7
type NetworkEndpointNotFound struct { }
func (*NetworkEndpointNotFound) Host ¶ added in v0.0.7
func (e *NetworkEndpointNotFound) Host() string
func (*NetworkEndpointNotFound) IsPresent ¶ added in v0.0.7
func (e *NetworkEndpointNotFound) IsPresent() bool
func (*NetworkEndpointNotFound) PortAddress ¶ added in v0.0.7
func (e *NetworkEndpointNotFound) PortAddress() string
func (*NetworkEndpointNotFound) WithDefault ¶ added in v0.0.7
func (e *NetworkEndpointNotFound) WithDefault(backup string) INetworkEndpoint
Click to show internal directories.
Click to hide internal directories.