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

Method Get

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

Get gets value by key from cluster.

(key []byte)

Source from the content-addressed store, hash-verified

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.
20 Delete(key []byte) error
21 // GetKeys gets all keys from cluster.

Callers 15

TestPutFunction · 0.65
TestDelFunction · 0.65
TestGetFunction · 0.65
TestPostFunction · 0.65
TestGetListKeysHandlerFunction · 0.65
GetHandlerMethod · 0.65
getBitmapFromDBMethod · 0.65
getSetFromDBMethod · 0.65
HSetMethod · 0.65
HGetMethod · 0.65
HMGetMethod · 0.65
HDelMethod · 0.65

Calls

no outgoing calls

Tested by 15

TestPutFunction · 0.52
TestDelFunction · 0.52
TestGetFunction · 0.52
TestPostFunction · 0.52
TestGetListKeysHandlerFunction · 0.52
TestStringStructure_GetFunction · 0.52
TestStringStructure_DelFunction · 0.52
TestStringStructure_IncrFunction · 0.52