Files
cache-valkey/component.go

20 lines
496 B
Go
Raw Permalink Normal View History

2026-05-29 15:58:56 +00:00
package cachevalkey
import (
"code.nochebuena.dev/einherjar/contracts/lifecycle"
"code.nochebuena.dev/einherjar/contracts/observability"
)
// Component is the full cache-valkey capability: lifecycle management, health checks,
// and all Provider operations.
// Register with launcher and health before starting the application:
//
// launcher.Register(vk)
// health.Register(vk)
type Component interface {
lifecycle.Component
observability.Checkable
observability.Identifiable
Provider
}