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