Documentation ¶
Index ¶
- Variables
- func NewSource(opts ...source.Option) source.Source
- func StripPrefix(strip bool) source.Option
- func WithAddress(a string) source.Option
- func WithConfig(c *api.Config) source.Option
- func WithDatacenter(p string) source.Option
- func WithPrefix(p string) source.Option
- func WithToken(p string) source.Option
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultPrefix is the prefix that consul keys will be assumed to have if you // haven't specified one DefaultPrefix = "/focalsolution/micro-config/" )
Functions ¶
func StripPrefix ¶
StripPrefix indicates whether to remove the prefix from config entries, or leave it in place.
func WithConfig ¶
WithConfig set consul-specific options
func WithDatacenter ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.