Documentation ¶
Index ¶
- type MemStore
- func (s *MemStore) Get(ctx context.Context, key string) (storetypes.KeyValue, error)
- func (s *MemStore) PrefixGet(ctx context.Context, prefix string) ([]storetypes.KeyValue, error)
- func (s *MemStore) PrefixGetKey(ctx context.Context, prefix string) ([]storetypes.Key, error)
- func (s *MemStore) PrefixRemove(ctx context.Context, prefix string) ([]storetypes.KeyValue, error)
- func (s *MemStore) Put(ctx context.Context, key, value string) error
- func (s *MemStore) PutWithOption(ctx context.Context, key, value string, opts []interface{}) (interface{}, error)
- func (s *MemStore) Remove(ctx context.Context, key string) (*storetypes.KeyValue, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemStore ¶
type MemStore struct {
// contains filtered or unexported fields
}
func (*MemStore) PrefixGetKey ¶
func (*MemStore) PrefixRemove ¶
func (*MemStore) PutWithOption ¶
Click to show internal directories.
Click to hide internal directories.