Documentation ¶ Index ¶ type InMemory func New() *InMemory func (m *InMemory) Delete(_ context.Context, key []byte) error func (m *InMemory) Get(_ context.Context, key []byte) ([]byte, error) func (m *InMemory) Put(_ context.Context, key []byte, value []byte) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type InMemory ¶ type InMemory struct { // contains filtered or unexported fields } func New ¶ func New() *InMemory func (*InMemory) Delete ¶ added in v0.0.4 func (m *InMemory) Delete(_ context.Context, key []byte) error func (*InMemory) Get ¶ func (m *InMemory) Get(_ context.Context, key []byte) ([]byte, error) func (*InMemory) Put ¶ func (m *InMemory) Put(_ context.Context, key []byte, value []byte) error Source Files ¶ View all Source files inmemory.go Click to show internal directories. Click to hide internal directories.