Documentation
¶
Index ¶
- type ConsulStorage
- func (r ConsulStorage) Clean(prefix string) error
- func (r ConsulStorage) Contains(key string) (bool, error)
- func (r ConsulStorage) Delete(key string) (bool, error)
- func (r ConsulStorage) Get(key string) (bool, []byte, error)
- func (r ConsulStorage) Keys() ([]string, error)
- func (r ConsulStorage) Store(key string, value []byte) error
- func (r ConsulStorage) StoreString(key string, value string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsulStorage ¶
type ConsulStorage struct {
// contains filtered or unexported fields
}
func Storage ¶
func Storage() (ConsulStorage, error)
func (ConsulStorage) Clean ¶
func (r ConsulStorage) Clean(prefix string) error
func (ConsulStorage) Keys ¶
func (r ConsulStorage) Keys() ([]string, error)
func (ConsulStorage) StoreString ¶
func (r ConsulStorage) StoreString(key string, value string) error
Click to show internal directories.
Click to hide internal directories.