Documentation ¶
Index ¶
- type NotFoundError
- type Storage
- func (storage *Storage) Get(key string) (interface{}, error)
- func (storage *Storage) GetElement(key, element string) (interface{}, error)
- func (storage *Storage) Keys() []string
- func (storage *Storage) Remove(key string) error
- func (storage *Storage) Set(key string, i interface{}, ttl time.Duration) error
- func (storage *Storage) Update(key string, i interface{}) error
- type TypeError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotFoundError ¶
type NotFoundError struct {
// contains filtered or unexported fields
}
func (*NotFoundError) Error ¶
func (e *NotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.