Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/archeryue/godis
/ functions
Functions
92 in github.com/archeryue/godis
⨍
Functions
92
◇
Types & classes
24
↓ 18 callers
Function
CreateObject
(typ Gtype, ptr interface{})
obj.go:46
↓ 13 callers
Method
isRehashing
()
dict.go:54
↓ 11 callers
Function
ReadQuery
(client *GodisClient, query string)
godis_test.go:9
↓ 10 callers
Method
Length
()
list.go:26
↓ 9 callers
Method
AddReplyStr
(str string)
godis.go:146
↓ 9 callers
Method
StrVal
()
obj.go:31
↓ 8 callers
Method
DecrRefCount
()
obj.go:58
↓ 8 callers
Method
Find
(key *Gobj)
dict.go:243
↓ 7 callers
Method
Delete
(key *Gobj)
dict.go:209
↓ 7 callers
Function
GetMsTime
()
ae.go:117
↓ 6 callers
Method
AddFileEvent
(fd int, mask FeType, proc FileProc, extra interface{})
ae.go:73
↓ 6 callers
Method
DelNode
(n *Node)
list.go:77
↓ 6 callers
Method
First
()
list.go:30
↓ 6 callers
Function
getFeKey
(fd int, mask FeType)
ae.go:54
↓ 6 callers
Function
handleBulkBuf
(client *GodisClient)
godis.go:235
↓ 5 callers
Method
Add
add a new key-val pair, return err if key exists
dict.go:184
↓ 5 callers
Method
Append
(val *Gobj)
list.go:49
↓ 5 callers
Method
Get
(key *Gobj)
dict.go:268
↓ 5 callers
Function
Read
(fd int, buf []byte)
net.go:34
↓ 5 callers
Function
Write
(fd int, buf []byte)
net.go:38
↓ 5 callers
Function
handleInlineBuf
(client *GodisClient)
godis.go:218
↓ 4 callers
Function
CreateClient
(fd int)
godis.go:399
↓ 4 callers
Function
DictCreate
(dictType DictType)
dict.go:47
↓ 4 callers
Method
IncrRefCount
()
obj.go:54
↓ 4 callers
Method
RandomGet
()
dict.go:276
↓ 4 callers
Method
RemoveFileEvent
(fd int, mask FeType)
ae.go:100
↓ 4 callers
Function
freeClient
(client *GodisClient)
godis.go:187
↓ 4 callers
Method
rehashStep
()
dict.go:58
↓ 4 callers
Function
resetClient
(client *GodisClient)
godis.go:196
↓ 3 callers
Function
Accept
(fd int)
net.go:11
↓ 3 callers
Method
AddTimeEvent
(mask TeType, interval int64, proc TimeProc, extra interface{})
ae.go:121
↓ 3 callers
Method
IntVal
()
obj.go:23
↓ 3 callers
Method
Last
()
list.go:34
↓ 3 callers
Function
ProcessQueryBuf
(client *GodisClient)
godis.go:293
↓ 3 callers
Method
Set
(key, val *Gobj)
dict.go:194
↓ 3 callers
Function
TcpServer
(port int)
net.go:46
↓ 3 callers
Method
findLineInQuery
()
godis.go:203
↓ 2 callers
Function
AeLoopCreate
()
ae.go:154
↓ 2 callers
Method
AeMain
()
ae.go:236
↓ 2 callers
Function
Connect
(host [4]byte, port int)
net.go:17
↓ 2 callers
Method
LPush
(val *Gobj)
list.go:63
↓ 2 callers
Function
ListCreate
(listType ListType)
list.go:20
↓ 2 callers
Method
expand
(size int64)
dict.go:101
↓ 2 callers
Function
freeArgs
(client *GodisClient)
godis.go:173
↓ 2 callers
Method
getEpollMask
(fd int)
ae.go:62
↓ 2 callers
Method
getNumInQuery
(s, e int)
godis.go:211
↓ 2 callers
Function
initServer
(config *Config)
godis.go:437
↓ 1 callers
Method
AddRaw
(key *Gobj)
dict.go:159
↓ 1 callers
Method
AddReply
(o *Gobj)
godis.go:140
↓ 1 callers
Method
AeProcess
(tes []*AeTimeEvent, fes []*AeFileEvent)
ae.go:219
↓ 1 callers
Method
AeWait
()
ae.go:179
↓ 1 callers
Function
Close
(fd int)
net.go:42
↓ 1 callers
Function
CreateFromInt
(val int64)
obj.go:38
↓ 1 callers
Function
EchoServer
(s, c, e chan struct{})
net_test.go:11
↓ 1 callers
Method
Find
(val *Gobj)
list.go:38
↓ 1 callers
Function
LoadConfig
(path string)
conf.go:13
↓ 1 callers
Function
ProcessCommand
(c *GodisClient)
godis.go:152
↓ 1 callers
Method
RemoveTimeEvent
(id int)
ae.go:136
↓ 1 callers
Method
expandIfNeeded
()
dict.go:122
↓ 1 callers
Function
expireIfNeeded
(key *Gobj)
godis.go:72
↓ 1 callers
Function
findKeyRead
(key *Gobj)
godis.go:85
↓ 1 callers
Function
freeEntry
(e *Entry)
dict.go:204
↓ 1 callers
Function
freeReplyList
(client *GodisClient)
godis.go:179
↓ 1 callers
Method
keyIndex
return the index of a free slot, return -1 if the key is exists or err.
dict.go:136
↓ 1 callers
Function
lookupCommand
(cmdStr string)
godis.go:131
↓ 1 callers
Method
nearestTime
()
ae.go:167
↓ 1 callers
Function
nextPower
(size int64)
dict.go:92
↓ 1 callers
Method
rehash
(step int)
dict.go:63
Function
AcceptHandler
(loop *AeLoop, fd int, extra interface{})
godis.go:408
Function
AcceptProc
(loop *AeLoop, fd int, extra interface{})
ae_test.go:32
Method
Delete
(val *Gobj)
list.go:106
Function
GStrEqual
(a, b *Gobj)
godis.go:383
Function
GStrHash
(key *Gobj)
godis.go:390
Function
NormalProc
(loop *AeLoop, id int, extra interface{})
ae_test.go:47
Function
OnceProc
(loop *AeLoop, id int, extra interface{})
ae_test.go:41
Function
ReadProc
(loop *AeLoop, fd int, extra interface{})
ae_test.go:21
Function
ReadQueryFromClient
(loop *AeLoop, fd int, extra interface{})
godis.go:330
Function
SendReplyToClient
(loop *AeLoop, fd int, extra interface{})
godis.go:352
Function
ServerCron
background job, runs every 100ms
godis.go:424
Function
TestAe
(t *testing.T)
ae_test.go:53
Function
TestBulkBuf
(t *testing.T)
godis_test.go:40
Function
TestDict
(t *testing.T)
dict_test.go:10
Function
TestInlineBuf
(t *testing.T)
godis_test.go:16
Function
TestList
(t *testing.T)
list_test.go:9
Function
TestProcessQueryBuf
(t *testing.T)
godis_test.go:71
Function
TestRehash
(t *testing.T)
dict_test.go:45
Function
WriteProc
(loop *AeLoop, fd int, extra interface{})
ae_test.go:10
Function
expireCommand
(c *GodisClient)
godis.go:117
Function
getCommand
(c *GodisClient)
godis.go:90
Function
main
()
godis.go:452
Function
setCommand
(c *GodisClient)
godis.go:105
Function
useTestAeInstead
func TestNet(t *testing.T) {
net_test.go:39