Documentation ¶
Index ¶
- Constants
- func NewRedisCache(ctx context.Context, _ adapter.Core, logger log.Logger, tag string, args any) (adapter.PluginExecutor, error)
- type Args
- type RedisCache
- func (r *RedisCache) APIHandler() chi.Router
- func (r *RedisCache) Close() error
- func (r *RedisCache) Exec(ctx context.Context, dnsCtx *adapter.DNSContext, argsID uint16) (adapter.ReturnMode, error)
- func (r *RedisCache) LoadRunningArgs(_ context.Context, args any) (uint16, error)
- func (r *RedisCache) Start() error
- func (r *RedisCache) Tag() string
- func (r *RedisCache) Type() string
Constants ¶
View Source
const Type = "rediscache"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RedisCache ¶
type RedisCache struct {
// contains filtered or unexported fields
}
func (*RedisCache) APIHandler ¶
func (r *RedisCache) APIHandler() chi.Router
func (*RedisCache) Close ¶
func (r *RedisCache) Close() error
func (*RedisCache) Exec ¶
func (r *RedisCache) Exec(ctx context.Context, dnsCtx *adapter.DNSContext, argsID uint16) (adapter.ReturnMode, error)
func (*RedisCache) LoadRunningArgs ¶
func (*RedisCache) Start ¶
func (r *RedisCache) Start() error
func (*RedisCache) Tag ¶
func (r *RedisCache) Tag() string
func (*RedisCache) Type ¶
func (r *RedisCache) Type() string
Click to show internal directories.
Click to hide internal directories.