Documentation ¶ Index ¶ type Store func MustNewStore() *Store func NewStore() (*Store, error) func (s *Store) Close() error func (s *Store) Get(bucket string, key []byte, v interface{}) error func (s *Store) Put(bucket string, key []byte, value interface{}, ttl time.Duration) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Store ¶ type Store struct { // contains filtered or unexported fields } Store _ func MustNewStore ¶ added in v0.1.9 func MustNewStore() *Store MustNewStore create new store func NewStore ¶ func NewStore() (*Store, error) NewStore _ func (*Store) Close ¶ func (s *Store) Close() error Close _ func (*Store) Get ¶ func (s *Store) Get(bucket string, key []byte, v interface{}) error Get _ func (*Store) Put ¶ func (s *Store) Put(bucket string, key []byte, value interface{}, ttl time.Duration) error Put _ Source Files ¶ View all Source files dummy_logger.go store.go Click to show internal directories. Click to hide internal directories.