Documentation ¶
Index ¶
Constants ¶
View Source
const Namespace = "github_com/letgoapp/krakend-consul"
Namespace is the key to use to store and access the custom config data
Variables ¶
View Source
var ( // ErrNoConfig is the error to be returned when there is no config with the consul namespace ErrNoConfig = fmt.Errorf("unable to create the consul client: no config") // ErrBadConfig is the error to be returned when the config is not well defined ErrBadConfig = fmt.Errorf("unable to create the consul client with the received config") // ErrNoMachines is the error to be returned when the config has not defined one or more servers ErrNoMachines = fmt.Errorf("unable to create the consul client without a set of servers") )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.