Documentation
¶
Overview ¶
Package sloghook provides a slog-based implementation of cascache.Hooks. It is optional: the core cascache package has no logging dependency.
Index ¶
- type Hooks
- func (h *Hooks) BulkRejected(ns string, requested int, reason string)
- func (h *Hooks) GenBumpError(storageKey string, err error)
- func (h *Hooks) GenSnapshotError(count int, err error)
- func (h *Hooks) InvalidateOutage(key string, bumpErr, delErr error)
- func (h *Hooks) LocalGenWithBulk()
- func (h *Hooks) ProviderSetRejected(storageKey string, isBulk bool)
- func (h *Hooks) SelfHealSingle(storageKey, reason string)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hooks ¶
type Hooks struct {
// contains filtered or unexported fields
}
Hooks is a slog-backed implementation of cascache.Hooks.
func (*Hooks) GenBumpError ¶
func (*Hooks) GenSnapshotError ¶
func (*Hooks) InvalidateOutage ¶
func (*Hooks) LocalGenWithBulk ¶
func (h *Hooks) LocalGenWithBulk()
func (*Hooks) ProviderSetRejected ¶
func (*Hooks) SelfHealSingle ¶
Click to show internal directories.
Click to hide internal directories.