Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrCanceled = errors.New("canceled")
)
View Source
var LockerTypes = []string{
"consul",
}
View Source
var Lockers = map[string]Initializer{}
Functions ¶
func DecodeConfig ¶
func DecodeConfig(src, dst interface{}) error
func Register ¶
func Register(name string, initFn Initializer)
Types ¶
type Initializer ¶
type Initializer func() Locker
Click to show internal directories.
Click to hide internal directories.