Documentation ¶
Index ¶
- Variables
- func AddKeyValue(key, value string) error
- func AddKeyValueBatch(key, value string, wg *sync.WaitGroup) error
- func AddKeyValueByBucketName(table, key, value string) error
- func AddKeyValueByBucketNameAuto(table, key, value string) error
- func AddTables(tablename string) error
- func CreateBucket(tablename string) error
- func Delete() error
- func DeleteBucket(tablename string) error
- func DeleteKeyValueByBucket(table, key string) error
- func DeleteTables(tablename string) error
- func GetAllByTables(name string) (map[string]string, error)
- func GetAllFile(pathname string, gn, ts int) error
- func GetAllTables() (map[string]string, error)
- func GetValueByBucketName(table, key string) ([]byte, error)
- func Home() (string, error)
- func Refresh(pathname string, wg *sync.WaitGroup, gn, ts int) error
- func SearchAll(key string, isKey bool) error
- func SearchPrefix(key string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Db *bolt.DB Mmap map[string]string )
Functions ¶
func AddKeyValue ¶
func AddKeyValueByBucketName ¶
func CreateBucket ¶
func DeleteBucket ¶
func DeleteKeyValueByBucket ¶
func DeleteTables ¶
func GetAllFile ¶
func GetAllTables ¶
func GetValueByBucketName ¶
func Home ¶
Home returns the home directory for the executing user.
This uses an OS-specific method for discovering the home directory. An error is returned if a home directory cannot be detected.
func SearchPrefix ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.