Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Golangltd/LollipopGo
/ functions
Functions
247 in github.com/Golangltd/LollipopGo
⨍
Functions
247
◇
Types & classes
44
↓ 20 callers
Method
Error
(format string, a ...interface{})
log/log.go:118
↓ 10 callers
Method
Close
It's dangerous to call the method on logging
log/log.go:85
↓ 8 callers
Method
Set
(key string, value interface{})
tools/mem/lru_cache.go:84
↓ 8 callers
Method
doPrintf
(level int, printLevel string, format string, a ...interface{})
log/log.go:94
↓ 7 callers
Method
Fatal
(format string, a ...interface{})
log/log.go:122
↓ 7 callers
Method
Marshal
goroutine safe
leaf/processor.go:158
↓ 6 callers
Method
Add
(items ...int32)
tools/collection/set.go:20
↓ 6 callers
Method
HandleCltProtocol
(protocol interface{}, protocol2 interface{}, ProtocolData map[string]interface{}, Connection interface{})
global_Interface/Interface_impl.go:15
↓ 6 callers
Method
Json2map
()
network/websocket.go:181
↓ 5 callers
Function
GetLocalStr
GetLocalStr change utc time to local date str
tools/tz/tz.go:29
↓ 5 callers
Function
intToString
(i int64)
util/strconv.go:47
↓ 4 callers
Function
NewInt32Set
(items ...int32)
tools/collection/set.go:10
↓ 4 callers
Method
pop
()
tools/sample/alias.go:24
↓ 3 callers
Method
CloseEOF
(closeEvent interface{})
global_Interface/Interface_impl.go:18
↓ 3 callers
Method
Contains
(items ...int32)
tools/collection/set.go:34
↓ 3 callers
Function
Error
(format string, a ...interface{})
log/log.go:143
↓ 3 callers
Method
Len
()
util/map.go:76
↓ 3 callers
Function
MD5_LollipopGO
MD5 实现 :主要是针对 字符串的加密
util/util.go:50
↓ 3 callers
Function
Release
(format string, a ...interface{})
log/log.go:139
↓ 3 callers
Method
Set
(key interface{}, value interface{})
util/map.go:37
↓ 3 callers
Method
Size
()
tools/collection/set.go:44
↓ 3 callers
Function
base64Decode
(src []byte)
network/websocket.go:126
↓ 3 callers
Method
init
()
util/map.go:12
↓ 3 callers
Method
mvHead
将节点移动到链表最前面,在外围加锁
tools/mem/lru_cache.go:55
↓ 2 callers
Function
AddParamsToGetReq
添加参数到get请求
network/websocket.go:322
↓ 2 callers
Method
AfterFunc
(d time.Duration, cb func())
timer/timer.go:50
↓ 2 callers
Function
C
计算组合结果
tools/num/num.go:94
↓ 2 callers
Function
Debug
(format string, a ...interface{})
log/log.go:135
↓ 2 callers
Method
Detach
()
tools/mem/lru_cache.go:19
↓ 2 callers
Method
Get
(key interface{})
util/map.go:26
↓ 2 callers
Function
IndiaTimezone
()
tools/tz/tz.go:23
↓ 2 callers
Function
New
(strLevel string, pathname string, flag int)
log/log.go:34
↓ 2 callers
Function
PlayerSendToServer
(conn *websocket.Conn, data interface{})
network/websocket.go:190
↓ 2 callers
Function
RandInt
闭区间
tools/sample/rand.go:32
↓ 2 callers
Method
Unmarshal
goroutine safe
leaf/processor.go:132
↓ 2 callers
Method
UnsafeRange
(f func(interface{}, interface{}))
util/map.go:82
↓ 2 callers
Function
checkError
(err error)
network/rpc.go:94
↓ 2 callers
Function
floatToString
(f float64)
util/strconv.go:44
↓ 2 callers
Function
gcd
(a, b int)
tools/num/num.go:78
↓ 2 callers
Method
push
(i int)
tools/sample/alias.go:20
↓ 1 callers
Method
Cb
()
timer/timer.go:31
↓ 1 callers
Method
CloseEOFPB
(closeEvent interface{})
global_Interface/Interface_impl.go:25
↓ 1 callers
Function
Copy
Copy creates a deep copy of whatever is passed to it and returns the copy in an interface{}. The returned value will need to be asserted to the corre
tools/deepcopy/reflect.go:28
↓ 1 callers
Method
Debug
(format string, a ...interface{})
log/log.go:110
↓ 1 callers
Method
DeepCopy
()
tools/deepcopy/reflect.go:22
↓ 1 callers
Function
DeleteInt32ByIndex
(array []int32, index int)
tools/collection/array.go:46
↓ 1 callers
Function
DeleteInt32s
会删去所有相等的元素
tools/collection/array.go:20
↓ 1 callers
Function
DynamicSchedule
可以动态修改延迟时间、可关闭的定时器
tools/tz/tz.go:64
↓ 1 callers
Function
Exists
判断所给路径文件/文件夹是否存在
tools/fs/file.go:22
↓ 1 callers
Function
Export
It's dangerous to call the method on logging
log/log.go:129
↓ 1 callers
Method
Get
(key string)
tools/mem/lru_cache.go:66
↓ 1 callers
Method
GetArrayByIndex
(index int)
tools/jsonutils/array.go:164
↓ 1 callers
Method
GetBoolByIndex
(index int)
tools/jsonutils/array.go:132
↓ 1 callers
Function
GetElementIndexInt32
(array []int32, elem int32)
tools/collection/array.go:50
↓ 1 callers
Method
GetFloat64ByIndex
(index int)
tools/jsonutils/array.go:100
↓ 1 callers
Function
GetLastModifyTime
(path string)
tools/fs/file.go:7
↓ 1 callers
Function
GetNowTsMs
()
tools/tz/tz.go:47
↓ 1 callers
Method
GetObjectByIndex
(index int)
tools/jsonutils/array.go:148
↓ 1 callers
Method
GetStringByIndex
(index int)
tools/jsonutils/array.go:116
↓ 1 callers
Method
HandleCltProtocolPB
(ProtocolData []byte, Connection interface{})
global_Interface/Interface_impl.go:22
↓ 1 callers
Function
InitConnectionKCP
初始化网络
network/kcp.go:25
↓ 1 callers
Function
InitConnectionPB
(wsConn *websocket.Conn)
network/websocketPB.go:28
↓ 1 callers
Function
InitConnectionRPC
(Addr string)
network/rpc.go:20
↓ 1 callers
Function
InitConnectionTCP
初始化网络
network/tcp.go:43
↓ 1 callers
Function
IsDir
判断所给路径是否为文件夹
tools/fs/file.go:34
↓ 1 callers
Function
NewDispatcher
(l int)
timer/timer.go:25
↓ 1 callers
Method
Range
goroutine safe
leaf/processor.go:181
↓ 1 callers
Method
Register
It's dangerous to call the method on routing or marshaling (unmarshaling)
leaf/processor.go:52
↓ 1 callers
Method
Release
(format string, a ...interface{})
log/log.go:114
↓ 1 callers
Method
ReloadConfig
(path string, init bool)
tools/fs/config.go:9
↓ 1 callers
Function
Shuffle
(array []int)
tools/sample/rand.go:44
↓ 1 callers
Function
ShuffleInt32
(array []int32)
tools/sample/rand.go:51
↓ 1 callers
Method
Stop
()
timer/timer.go:20
↓ 1 callers
Function
SumInt
(array []int)
tools/collection/array.go:11
↓ 1 callers
Function
SumInt32s
(array []int32)
tools/collection/array.go:3
↓ 1 callers
Function
TsToDateStr
(ts int64)
tools/tz/tz.go:12
↓ 1 callers
Function
TsToDateTimeStr
(ts int64)
tools/tz/tz.go:15
↓ 1 callers
Function
UTCToLocal
如果想要将本地时间转换成UTC,直接用UTC()方法即可 如果解析字符串,对应的是本地时间且字符串中没有时区,使用time.ParseInLocation(ChinaTimeZone())
tools/tz/tz.go:38
↓ 1 callers
Method
UnsafeDel
(key interface{})
util/map.go:57
↓ 1 callers
Method
UnsafeGet
(key interface{})
util/map.go:18
↓ 1 callers
Method
UnsafeLen
()
util/map.go:68
↓ 1 callers
Method
UnsafeSet
(key interface{}, value interface{})
util/map.go:32
↓ 1 callers
Function
boolToString
(b bool)
util/strconv.go:50
↓ 1 callers
Function
copyRecursive
copyRecursive does the actual copying of the interface. It currently has limited support for what it can handle. Add as needed.
tools/deepcopy/reflect.go:48
↓ 1 callers
Function
createClientConn
(Addr string)
network/rpc.go:29
↓ 1 callers
Function
div
div : divide by gcd
tools/num/num.go:86
↓ 1 callers
Function
filterChackFor
递归调用检查屏蔽字
tools/DFA/dfa.go:93
↓ 1 callers
Function
filterFor
(li map[rune]*FilterModel, rowr []rune, index int)
tools/DFA/dfa.go:52
↓ 1 callers
Function
getUrlPath
获取url路径
network/websocket.go:337
↓ 1 callers
Method
handleLoop
()
network/websocket.go:80
↓ 1 callers
Method
handleLoop
()
network/kcp.go:62
↓ 1 callers
Method
handleLoop
()
network/tcp.go:80
↓ 1 callers
Method
handleLoopPB
()
network/websocketPB.go:57
↓ 1 callers
Function
newGameProcessor
()
leaf/processor.go:38
↓ 1 callers
Function
newLogger
()
tools/database/gorm.go:25
↓ 1 callers
Method
readLoop
20240710
network/websocket.go:49
↓ 1 callers
Method
readLoop
()
network/kcp.go:39
↓ 1 callers
Method
readLoop
()
network/tcp.go:57
↓ 1 callers
Method
readLoopPB
()
network/websocketPB.go:39
↓ 1 callers
Method
rmTail
删除尾部节点,外围加锁
tools/mem/lru_cache.go:78
next →
1–100 of 247, ranked by callers