Documentation ¶
Index ¶
- func Compress(value string) ([]byte, error)
- func CopyOnWrite(key string) error
- func CopyOnWriteNil(key string) error
- func CreateData(key, value string) bool
- func CreateShards()
- func CreateSnapshot() string
- func Decompress(compressedValue []byte) (string, error)
- func DeleteData(key string) bool
- func GetName(key string) string
- func GetPath() string
- func GetSnapshots() []string
- func Hash(key string) []byte
- func ReadCompressed(key string) ([]byte, error)
- func ReadData(key string) (string, error)
- func ReadSnapshot(snapshot, key string) (string, error)
- func ServerCreate(writer http.ResponseWriter, request *http.Request)
- func ServerCreateSnapshot(writer http.ResponseWriter, request *http.Request)
- func ServerDelete(writer http.ResponseWriter, request *http.Request)
- func ServerRead(writer http.ResponseWriter, request *http.Request)
- func ServerReadSnapshot(writer http.ResponseWriter, request *http.Request)
- func ServerUpdate(writer http.ResponseWriter, request *http.Request)
- func SetPath(fp string)
- func SetShards(num int)
- func Shard(key string) string
- func UpdateData(key, value string) bool
- type Snapshot
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyOnWrite ¶
func CopyOnWriteNil ¶
func CreateData ¶
func CreateShards ¶
func CreateShards()
func CreateSnapshot ¶
func CreateSnapshot() string
func Decompress ¶
func DeleteData ¶
func GetSnapshots ¶
func GetSnapshots() []string
func ReadCompressed ¶
func ReadSnapshot ¶
func ServerCreate ¶
func ServerCreate(writer http.ResponseWriter, request *http.Request)
func ServerCreateSnapshot ¶
func ServerCreateSnapshot(writer http.ResponseWriter, request *http.Request)
func ServerDelete ¶
func ServerDelete(writer http.ResponseWriter, request *http.Request)
func ServerRead ¶
func ServerRead(writer http.ResponseWriter, request *http.Request)
func ServerReadSnapshot ¶
func ServerReadSnapshot(writer http.ResponseWriter, request *http.Request)
func ServerUpdate ¶
func ServerUpdate(writer http.ResponseWriter, request *http.Request)
func UpdateData ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.