Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// MaxSize is the maximum number of entries the cache can hold
MaxSize int `yaml:"max_size"`
// TTL specifies how long entries should remain in cache
// Format: time.Duration string ("5m", "1h", "24h")
TTL time.Duration `yaml:"ttl"`
}
Config represents LRU cache configuration
type Connector ¶
type Connector struct {
connectors.Connector
// contains filtered or unexported fields
}
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (Plugin) Wrap ¶
func (p Plugin) Wrap(connector connectors.Connector) (connectors.Connector, error)
type PluginBundle ¶
func New ¶
func New(cfg Config) (PluginBundle, error)
Click to show internal directories.
Click to hide internal directories.