20 lines
496 B
Go
20 lines
496 B
Go
|
|
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
|
||
|
|
}
|