Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DenzelPenzel/shrek
/ functions
Functions
150 in github.com/DenzelPenzel/shrek
⨍
Functions
150
◇
Types & classes
39
Method
Dial
(addr raft.ServerAddress, timeout time.Duration)
internal/shrek/raft_rpc.go:28
Method
Dial
(addr string, timeout time.Duration)
internal/shrek/shrek_test.go:266
Method
Execute
(r *shrek.ExecuteRequest)
internal/server/server_test.go:269
Method
Execute
(r *ExecuteRequest)
internal/shrek/shrek.go:298
Method
Execute
Execute ... TODO improve logic
internal/db/db.go:181
Method
Execute
(body server.QueryRequest)
e2e/node.go:56
Function
FindDirectory
(currentDir, target string)
internal/utils/utils.go:23
Method
Followers
()
e2e/cluster.go:52
Method
GetMetadata
(_, _ string)
internal/server/server_test.go:265
Method
GetMetadata
GetMetadata ... Returns metadata for specific node_id and for a given key
internal/shrek/shrek.go:235
Method
IsDevelopment
IsDevelopment ... Returns true if the env is development
internal/config/config.go:150
Method
IsLocal
IsLocal ... Returns true if the env is local
internal/config/config.go:155
Method
IsProduction
IsProduction ... Returns true if the env is production
internal/config/config.go:145
Method
Join
(_, _ string, _ map[string]string)
internal/server/server_test.go:298
Method
Join
(id, addr string, metadata map[string]string)
internal/shrek/shrek.go:377
Method
Join
(leader *Node)
e2e/node.go:134
Method
Leader
()
internal/server/server_test.go:306
Method
Leader
()
internal/shrek/shrek.go:423
Method
LeaderID
()
internal/server/server_test.go:257
Function
New
(fileName string)
internal/db/db.go:42
Function
NewContext
NewContext ... A helper for middleware to create requestId or other context fields and return a context which logger can understand.
internal/logging/logging.go:24
Function
OpenInMemoryWithDSN
(dsn string)
internal/db/db.go:58
Function
OpenWithDSN
(path, dsn string)
internal/db/db.go:54
Method
Persist
Persist writes the snapshot to the given sink
internal/shrek/fsm.go:30
Method
Query
(r *shrek.QueryRequest)
internal/server/server_test.go:282
Method
Query
(r *QueryRequest)
internal/shrek/shrek.go:335
Method
Query
(queries []string, useTx, includeTimings bool)
internal/db/db.go:78
Method
Query
(body server.QueryRequest)
e2e/node.go:70
Method
RegisterObserver
(o *raft.Observer)
internal/shrek/shrek.go:673
Method
Release
()
internal/shrek/fsm.go:65
Method
Remove
(_ string)
internal/server/server_test.go:302
Method
Remove
Remove ... Removes a node from the store
internal/shrek/shrek.go:403
Method
Restore
Restore ... Restores the node to a previous state
internal/shrek/shrek.go:187
Function
RunApp
RunApp ... Application entry point
cmd/main.go:16
Method
SetTime
()
internal/server/server.go:48
Method
Shutdown
Shutdown ... Shutdown each Node in Cluster
e2e/cluster.go:83
Method
Snapshot
()
internal/shrek/shrek.go:167
Method
Stats
Stats ... Returns info about the storage
internal/server/server.go:99
Method
Stats
()
internal/server/server_test.go:261
Method
Stats
()
internal/shrek/shrek.go:428
Function
TestDatabase
(t *testing.T)
internal/db/db_test.go:11
Function
TestDyPort
(t *testing.T)
internal/dyport/dyport_test.go:9
Function
Test_APIStatus
(t *testing.T)
e2e/cluster_test.go:224
Function
Test_HTTPServer
(t *testing.T)
internal/server/server_test.go:26
Function
Test_MultiNodes
(t *testing.T)
e2e/cluster_test.go:236
Function
Test_Network
(t *testing.T)
internal/network/network_test.go:9
Function
Test_Shrek
(t *testing.T)
internal/shrek/shrek_test.go:17
Function
Test_SingleNodeCRUD
(t *testing.T)
e2e/cluster_test.go:11
Function
Test_SingleNodeMutilInsert
(t *testing.T)
e2e/cluster_test.go:145
Function
main
()
cmd/main.go:58
← previous
101–150 of 150, ranked by callers