Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitKVStores ¶
func InitKVStores()
Types ¶
type KVStore ¶
type KVStore interface { PutKeyValue(key string, value string) (err error) GetKeyValue(key string) (value string, err error) }
func NewConsulStore ¶
func NewConsulStore() KVStore
NewConsulStore creates a new consul store. It is possible that the client for this store is nil, which is the case if no consul config is provided.
func NewInternalKVStore ¶
func NewInternalKVStore() KVStore
func NewZkStore ¶
func NewZkStore() KVStore
Click to show internal directories.
Click to hide internal directories.