Documentation ¶ Index ¶ type InMemory func NewInMemory() *InMemory func (ms *InMemory) Delete(_ context.Context, key string) error func (ms *InMemory) Get(_ context.Context, key string) ([]byte, error) func (ms *InMemory) Set(_ context.Context, key string, value []byte, ttl time.Duration) 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 NewInMemory ¶ func NewInMemory() *InMemory func (*InMemory) Delete ¶ func (ms *InMemory) Delete(_ context.Context, key string) error func (*InMemory) Get ¶ func (ms *InMemory) Get(_ context.Context, key string) ([]byte, error) func (*InMemory) Set ¶ func (ms *InMemory) Set(_ context.Context, key string, value []byte, ttl time.Duration) error Source Files ¶ View all Source files memstore.go Click to show internal directories. Click to hide internal directories.