Documentation
¶
Index ¶
Constants ¶
View Source
const DEFAULT_CACHING_INTERVAL = time.Minute * 5
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheEntry ¶
type ConsulClient ¶
type ConsulClient interface {
Get(key string) (any, error)
GetOrSet(key string, period time.Duration) (any, error)
}
func New ¶
func New(config *ConsulConfig) (ConsulClient, error)
type ConsulClientService ¶ added in v1.0.3
type ConsulClientService struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.