MCPcopy Create free account

hub / github.com/cpuguy83/drax / functions

Functions162 in github.com/cpuguy83/drax

MethodClose
()
store.go:581
MethodDelete
(conn io.Writer, req *clientRequest)
api.go:165
MethodDelete
Delete deletes the key
api/client/client.go:59
MethodDeleteTree
(conn io.Writer, req *clientRequest)
api.go:157
MethodDeleteTree
DeleteTree deletes the specified dir and all subdirs
api/client/client.go:107
MethodExists
(conn io.Writer, req *clientRequest)
api.go:173
MethodExists
Exists checks for the existence of a key
api/client/client.go:70
MethodGet
(conn io.Writer, req *clientRequest)
api.go:80
MethodGet
Get gets the k/v pair for the specified key
api/client/client.go:29
MethodGetLeader
GetLeader loops, waiting for the leader
raft.go:66
MethodGetLeader
()
store_test.go:27
MethodHandoff
Handoff is used by the RPC server hand-off a conn to this StreamLayer
rpc/stream.go:49
MethodIsLeader
()
store_test.go:17
MethodLeaderCh
LeaderCh can be watched for changes in raft node state
raft.go:144
MethodLeaderCh
()
store_test.go:19
MethodList
(conn io.Writer, req *clientRequest)
api.go:142
MethodList
List lists the key/value pairs that have the provided key prefix
api/client/client.go:84
FunctionNew
New creates a new drax Client
api/client/client.go:23
FunctionNewDecoder
NewDecoder returns a Decoder for performing stream decoding from the given reader
api/util.go:29
FunctionNewEncoder
NewEncoder returns an Encoder for performing stream encoding from the given reader
api/util.go:34
MethodNewLock
(key string, options *libkvstore.LockOptions)
store.go:231
MethodNewLock
NewLock creates a new lock that can be used to lock access to the given key, like a sync.Mutex
api/client/client.go:202
MethodPeers
()
discovery.go:16
MethodPersist
(sink raft.SnapshotSink)
store.go:434
MethodPublish
(kv []*libkvstore.KVPair)
store.go:501
MethodPut
(conn io.Writer, req *clientRequest)
api.go:92
MethodPut
Put sets the key to the given value
api/client/client.go:44
MethodRelease
()
store.go:441
MethodRestore
(r io.ReadCloser)
store.go:428
MethodSetPeers
(peers []string)
discovery.go:9
MethodShutdownCh
ShutdownCh can be watched to determine if the raft has been shutdown
raft.go:149
MethodShutdownCh
()
store_test.go:31
MethodShutdownCh
ShutdownCh returns a channel that can be watched to determine if the cluster has been shut down
cluster.go:147
MethodSnapshot
()
store.go:424
FunctionTestKVMultiNode
(t *testing.T)
cluster_test.go:61
FunctionTestKVSingleNode
(t *testing.T)
cluster_test.go:41
FunctionTestNewCluster
(t *testing.T)
cluster_test.go:17
FunctionTestServer
(t *testing.T)
rpc/server_test.go:29
FunctionTestSetPeers
(t *testing.T)
discovery_test.go:11
FunctionTestStoreDelete
(t *testing.T)
store_test.go:120
FunctionTestStoreDeleteTree
(t *testing.T)
store_test.go:198
FunctionTestStoreExists
(t *testing.T)
store_test.go:141
FunctionTestStoreGet
(t *testing.T)
store_test.go:49
FunctionTestStoreGetPutDelete
(t *testing.T)
integration/store_test.go:12
FunctionTestStoreList
(t *testing.T)
store_test.go:168
FunctionTestStorePut
(t *testing.T)
store_test.go:73
FunctionTestStorePutWithTTL
(t *testing.T)
store_test.go:92
FunctionTestStoreWatch
(t *testing.T)
integration/store_test.go:81
FunctionTestStoreWatchDelete
(t *testing.T)
integration/store_test.go:144
FunctionTestStoreWatchKey
(t *testing.T)
store_test.go:223
FunctionTestStoreWatchKeyCloseOnDelete
(t *testing.T)
store_test.go:292
FunctionTestStoreWatchKeyStop
(t *testing.T)
store_test.go:250
FunctionTestStoreWatchTree
(t *testing.T)
store_test.go:332
FunctionTestStoreWatchTreeStop
(t *testing.T)
store_test.go:373
MethodWatch
(conn io.Writer, req *clientRequest)
api.go:113
MethodWatch
Watch watches a key for changes and notifies the caller Watch is not implemented
api/client/client.go:119
MethodWatchTree
(conn io.Writer, req *clientRequest)
api.go:125
MethodWatchTree
WatchTree watches a dir and all subdirs for changes and notifies the caller
api/client/client.go:159
MethodaddNode
(req *rpc.Request)
api.go:27
Functionmain
()
cmd/kv.go:22
MethodremoveNode
(req *rpc.Request)
api.go:31
MethodwaitLeader
()
store.go:316
← previous101–162 of 162, ranked by callers