Documentation ¶
Index ¶
- func Delete(db *badger.DB, keys []string) error
- func Get(db *badger.DB, keys []string) (map[string]*api.ObjectDetail, error)
- func GetKeys(db *badger.DB) []string
- func GetPrefix(db *badger.DB, prefix string) (map[string]*api.ObjectDetail, error)
- func GetPrefixKeys(db *badger.DB, prefix string) []string
- func GetRegex(db *badger.DB, regex string) (map[string]*api.ObjectDetail, error)
- func GetRegexKeys(db *badger.DB, regex string) ([]string, error)
- func ScanBound(db *badger.DB, bound *api.Bound, keys []string) (map[string]*api.ObjectDetail, error)
- func ScanPrefixBound(db *badger.DB, bound *api.Bound, prefix string) (map[string]*api.ObjectDetail, error)
- func ScanRegexBound(db *badger.DB, bound *api.Bound, rgex string) (map[string]*api.ObjectDetail, error)
- func Set(db *badger.DB, maps *maps.Client, hub *stream.Hub, obj *api.Object) (*api.ObjectDetail, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPrefixKeys ¶
func GetRegexKeys ¶
func ScanPrefixBound ¶
func ScanRegexBound ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.