Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidArgument = errors.New("ErrorInvalidArgument")
View Source
var ErrNotFound = errors.New("ErrorNotFound")
Functions ¶
This section is empty.
Types ¶
type InmemoryStore ¶
type InmemoryStore struct {
// contains filtered or unexported fields
}
func NewInmemoryStore ¶
func NewInmemoryStore() *InmemoryStore
func (*InmemoryStore) Close ¶
func (s *InmemoryStore) Close() error
func (*InmemoryStore) Delete ¶
func (s *InmemoryStore) Delete(key string) (err error)
func (*InmemoryStore) Get ¶
func (s *InmemoryStore) Get(key string, i interface{}) (err error)
func (*InmemoryStore) Put ¶
func (s *InmemoryStore) Put(key string, i interface{}) (err error)
Click to show internal directories.
Click to hide internal directories.