Documentation
¶
Index ¶
- Constants
- Variables
- type Store
- func (s *Store) Close() error
- func (s *Store) Destroy() error
- func (s *Store) Flush() error
- func (s *Store) Get(key string, dest interface{}) error
- func (s *Store) Info() StoreInfo
- func (s *Store) Put(key string, value interface{}) error
- func (s *Store) Remove(key string) error
- func (s *Store) SetMaxBucketsCached(n int) error
- func (s *Store) SetMaxObjectsPerBucket(n int)
- type StoreInfo
Constants ¶
View Source
const DefaultLockPartitions = 8
View Source
const DefaultMaxBucketsCached = 256
View Source
const DefaultMaxObjectsPerBucket = 512
Variables ¶
View Source
var ErrValueNotFound = errors.New("value not found")
ErrValueNotFound indicates that a corresponding value was not found for a key.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) SetMaxBucketsCached ¶
func (*Store) SetMaxObjectsPerBucket ¶
Click to show internal directories.
Click to hide internal directories.