consul

package
v0.0.0-...-6b32d26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConsulKVCacheKey

func GetConsulKVCacheKey(dc, key string) string

GetConsulKVCacheKey returns a Consul KV cache key for a given datacenter

func NewConsulStore

func NewConsulStore() dtstruct.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 NewConsulTxnStore

func NewConsulTxnStore() dtstruct.KVStore

NewConsulTxnStore creates a new consul store that uses Consul Transactions to read/write multiple KVPairs. It is possible that the client for this store is nil, which is the case if no consul config is provided

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL