Documentation
¶
Index ¶
- type Etcd
- func (s *Etcd) Del(key string)
- func (s *Etcd) DelPrefix(prefix string)
- func (s *Etcd) Get(key string, obj interface{}) error
- func (s *Etcd) List(root string) (map[string]string, error)
- func (s *Etcd) Set(key string, val interface{}) error
- func (s *Etcd) SetWithExpiration(key string, val interface{}, exp time.Duration) error
- func (s *Etcd) Watch(prefix string) clientv3.WatchChan
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Etcd ¶
type Etcd struct {
// contains filtered or unexported fields
}
func (*Etcd) SetWithExpiration ¶
Click to show internal directories.
Click to hide internal directories.