Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCacheMustBeSet = errors.New("cache must be set")
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
type Middleware struct {
// contains filtered or unexported fields
}
func New ¶
func New(settings Settings) (middleware *Middleware, err error)
func (*Middleware) Stop ¶
func (m *Middleware) Stop() (err error)
func (*Middleware) String ¶
func (m *Middleware) String() string
Directories ¶
Path | Synopsis |
---|---|
metrics
|
|
noop
Package noop defines a No-op metric implementation for the cache.
|
Package noop defines a No-op metric implementation for the cache. |
prometheus
Package prometheus defines a Prometheus metric implementation for the cache.
|
Package prometheus defines a Prometheus metric implementation for the cache. |
Click to show internal directories.
Click to hide internal directories.