Documentation ¶
Index ¶
- type Store
- func (s *Store) Backup(path, filename string) error
- func (s *Store) CloseStore() error
- func (s *Store) Delete(bucketName []byte, k []byte) error
- func (s *Store) DeleteBucket(bucketName []byte) error
- func (s *Store) Get(bucketName []byte, k []byte) ([]byte, error)
- func (s *Store) HasBucket(bucketName []byte) bool
- func (s *Store) KeyExist(bucketName []byte, k []byte) (bool, error)
- func (s *Store) List(bucketName []byte, k []byte, perpage int) (list []string, err error)
- func (s *Store) ListBucket() (buckets []string, err error)
- func (s *Store) MGet(bucketName []byte, keys ...[]byte) (list map[string]interface{}, err error)
- func (s *Store) PrevList(bucketName []byte, k []byte, perpage int) (list []string, err error)
- func (s *Store) Restore(path, filename string) error
- func (s *Store) Set(bucketName []byte, k []byte, v []byte) ([]byte, error)
- func (s *Store) StatsBucket(bucketName []byte) int
- func (s *Store) SyncStore()
- func (s *Store) ValueExist(bucketName []byte, v []byte) (bool, 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
}
Index: boltdb Database: sniper - because of sniper memory index not working true
func (*Store) CloseStore ¶ added in v1.2.0
func (*Store) DeleteBucket ¶
func (*Store) List ¶
First() Move to the first key. Last() Move to the last key. Seek() Move to a specific key. Next() Move to the next key. Prev() Move to the previous key.
func (*Store) ListBucket ¶ added in v1.2.0
func (*Store) StatsBucket ¶ added in v1.2.0
Click to show internal directories.
Click to hide internal directories.