consul

package
v0.0.0-...-7429660 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultPrefix = "/service_config"
)

Functions

func NewSource

func NewSource(opts ...source.Option) source.Source

func UsePrefix

func UsePrefix(strip bool) source.Option

UsePrefix indicates whether to remove the prefix from config entries, or leave it in place.

func WithAbsPath

func WithAbsPath(p string) source.Option

WithAbsPath sets the key prefix to use

func WithAddress

func WithAddress(a string) source.Option

WithAddress sets the consul address

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL