Documentation
¶
Overview ¶
Package kv is a RoadRunner plugin that provides a unified key-value storage gateway. It manages multiple named storage backends — memory, boltdb, memcached, and redis — registered through the Endure dependency-injection framework. Clients interact with every backend through a single RPC service, and all operations are instrumented with OpenTelemetry tracing.
Index ¶
Constants ¶
View Source
const ( // PluginName linked to the memory, boltdb, memcached, redis plugins. DO NOT change w/o sync. PluginName string = "kv" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config represents general storage configuration with keys as the user defined kv-names and values as the constructors
type Configurer ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
Plugin for unified storage
type Tracer ¶
type Tracer interface {
Tracer() *sdktrace.TracerProvider
}
Tracer represents opentelemetry tracer (OTEL plugin)
Click to show internal directories.
Click to hide internal directories.