Documentation ¶ Index ¶ type DBConsul func NewDBConsul(cfg *api.Config) (DB *DBConsul, err error) func (d *DBConsul) Get(keyPath string) (data []byte, version uint64, err error) func (d *DBConsul) Unmarshal(keyPath string, o interface{}) (err error) func (d *DBConsul) Watch(keyPath string, o interface{}, onChanged func(err error)) (err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type DBConsul ¶ type DBConsul struct { // contains filtered or unexported fields } func NewDBConsul ¶ func NewDBConsul(cfg *api.Config) (DB *DBConsul, err error) func (*DBConsul) Get ¶ func (d *DBConsul) Get(keyPath string) (data []byte, version uint64, err error) func (*DBConsul) Unmarshal ¶ func (d *DBConsul) Unmarshal(keyPath string, o interface{}) (err error) func (*DBConsul) Watch ¶ func (d *DBConsul) Watch(keyPath string, o interface{}, onChanged func(err error)) (err error) Source Files ¶ View all Source files consul.go Click to show internal directories. Click to hide internal directories.