Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheMeter ¶
type CacheMeterKey ¶
CacheMeterKey should map to GetValue arguments
func (CacheMeterKey) String ¶
func (c CacheMeterKey) String() string
type CacheMeterProvider ¶
type CacheMeterProvider struct { meters.MeterProvider // contains filtered or unexported fields }
Wraps a meter with caching
func NewCacheMeterProvider ¶
func NewCacheMeterProvider(provider meters.MeterProvider, topic string, redisClient *redis.Client, recheck time.Duration, expires time.Duration, refresh time.Duration) *CacheMeterProvider
Click to show internal directories.
Click to hide internal directories.