MCPcopy Create free account
hub / github.com/ByteStorage/FlyDB / Put

Method Put

cluster/cluster.go:16–16  ·  view source on GitHub ↗

Put puts a key-value pair to cluster.

(key, value []byte)

Source from the content-addressed store, hash-verified

14type Cluster interface {
15 // Put puts a key-value pair to cluster.
16 Put(key, value []byte) error
17 // Get gets value by key from cluster.
18 Get(key []byte) ([]byte, error)
19 // Delete deletes a key-value pair from cluster.

Callers 15

TestDelFunction · 0.65
TestGetFunction · 0.65
PutHandlerMethod · 0.65
PostHandlerMethod · 0.65
setBitmapToDBMethod · 0.65
setSetToDBMethod · 0.65
SetMethod · 0.65
setZSetToDBMethod · 0.65
XAddMethod · 0.65
XDelMethod · 0.65
XTrimMethod · 0.65
XGroupMethod · 0.65

Calls

no outgoing calls

Tested by 2

TestDelFunction · 0.52
TestGetFunction · 0.52