Documentation ¶
Index ¶
- Variables
- type Config
- type Session
- func (s *Session) BucketExists(path []string) bool
- func (s *Session) CreateBucket(path []string) error
- func (s *Session) DeleteBucket(path []string) error
- func (s *Session) DeleteKey(path []string, key string) error
- func (s *Session) KeyExists(path []string, key string) bool
- func (s *Session) List(path []string, pageToken string) ([]string, [][]byte, string, error)
- func (s *Session) ListBuckets(path []string, pageToken string) ([]string, string, error)
- func (s *Session) ListKeys(path []string, pageToken string) ([]string, string, error)
- func (s *Session) NextSeq(path []string) (uint64, error)
- func (s *Session) PrefixExists(path []string, prefix string) (bool, error)
- func (s *Session) Read(path []string, key string) ([]byte, error)
- func (s *Session) ReadScan(path []string, prefix string) ([]string, [][]byte, error)
- func (s *Session) Write(path []string, key string, value []byte) error
- type Store
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func (*Session) BucketExists ¶
BucketExists checks if a bucket path exists.
func (*Session) CreateBucket ¶
Create bucket path.
func (*Session) DeleteBucket ¶
Delete bucket at the tail of the given bucket path. The call does not return an error when the bucket does not exist.
func (*Session) DeleteKey ¶
Delete key, deletes key at given path when present. The call does not return an error when key does not exist.
func (*Session) ListBuckets ¶
List buckets, returns a paged collection of buckets.
func (*Session) PrefixExists ¶
PrefixExists scans keys for prefix match
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) ReadSession ¶
Start new read session.
func (*Store) WriteSession ¶
Start new write session
Click to show internal directories.
Click to hide internal directories.