Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Golangltd/LollipopGo
/ types & classes
Types & classes
44 in github.com/Golangltd/LollipopGo
⨍
Functions
247
◇
Types & classes
44
Struct
AliasTable
AliasTable is a discrete distribution
tools/sample/alias.go:11
Struct
C2Proxy_ConnData
------------------------------------------------------------------------------ C2Proxy_ConnDataProto 客户端连接协议
Proxy_Server/Proto/Proto_Proxy.go:19
Struct
C2Proxy_SendData
------------------------------------------------------------------------------ C2Proxy_SendDataProto 客户端发送协议
Proxy_Server/Proto/Proto_Proxy.go:65
Struct
ConfigFilter
tools/DFA/dfa.go:18
Struct
Dispatcher
timer/timer.go:11
Struct
FilterModel
屏蔽字结构
tools/DFA/dfa.go:69
Struct
G2Proxy_ConnData
------------------------------------------------------------------------------ G2Proxy_ConnDataProto 服务器链接协议
Proxy_Server/Proto/Proto_Proxy.go:51
Struct
G2Proxy_SendData
------------------------------------------------------------------------------ G2Proxy_SendDataProto 服务器发送代理
Proxy_Server/Proto/Proto_Proxy.go:34
Interface
IConfigParser
解析器需要实现的接口
tools/fs/config.go:8
Struct
Int32Set
由于golang缺乏泛型,这里只写了最常用的int32 set,可以根据需要自行实现其他 如果需要通用泛型,也可以使用github.com/deckarep/golang-set这个包 非goroutine安全
tools/collection/set.go:6
Interface
Interface
* The following struct tags is supported: type A struct { Field1 SomeType `deepcopy:"-"` // skip, will have zero-value in copy Field2 *SomeT
tools/deepcopy/reflect.go:21
TypeAlias
JsonArray
tools/jsonutils/array.go:3
TypeAlias
JsonObject
一个动态的json对象 注意:json在Unmarshal到interface{}时,会把JsonNumber转成float64,除非使用UseNumber 因此这里仅提供float64接口,其他数据类型外部转换 如果json的是{type: 1, data: {}}这种格式,需要通过type解析具
tools/jsonutils/object.go:11
Struct
LRU
tools/mem/lru_cache.go:28
Struct
LogService
log/LogService.go:23
Struct
LogSt
log/LogService.go:30
Struct
Logger
log/log.go:28
Struct
Map
util/map.go:7
Interface
Msg_data
* ps: v 2.8.X 版本以前 type Msg_data interface { HandleCltProtocol(protocol interface{}, protocol2 interface{}, ProtocolData map[string]interface{}, Conn
global_Interface/Interface_impl.go:14
Interface
Msg_dataPB
global_Interface/Interface_impl.go:21
Struct
OnlineKCP
KCP 格式
network/kcp.go:14
Struct
OnlineTCP
TCP 格式
network/tcp.go:13
Struct
OnlineUser
network/websocket.go:23
Struct
OnlineUserPB
network/websocketPB.go:18
Struct
ParserMixIn
解析器的默认实现,用于嵌套
tools/fs/config.go:14
Struct
Proxy2C_ConnData
Proxy2C_ConnDataProto
Proxy_Server/Proto/Proto_Proxy.go:26
Struct
Proxy2C_SendData
type Proxy2GS_InitHall struct { Protocol int Protocol2 int Token string OpenID string LoginType string //IMEI string } Proxy2C_Send
Proxy_Server/Proto/Proto_Proxy.go:82
Struct
Proxy2G_ConnData
Proxy2G_ConnDataProto
Proxy_Server/Proto/Proto_Proxy.go:58
Struct
Proxy2G_SendData
Proxy2G_SendDataProto
Proxy_Server/Proto/Proto_Proxy.go:42
Struct
RPCSt
RPC数据结构
network/rpc.go:13
Struct
Requestbody
network/websocket.go:177
Struct
RequestbodyPB
network/websocketPB.go:92
Struct
TTL
tools/mem/ttl_cache.go:12
Struct
TextDuration
tools/misc.go:29
Struct
Timer
Timer
timer/timer.go:15
Struct
args
tools/collection/array_test.go:9
Struct
logger
tools/database/gorm.go:11
FuncType
msgHandlerST
func([]interface{})
leaf/processor.go:31
Struct
msgInfoST
leaf/processor.go:24
Struct
msgRawST
leaf/processor.go:33
Struct
node
缓存在内存里的lru cache
tools/mem/lru_cache.go:12
Struct
processor
对leaf中已有的Protobuf协议格式进行扩展,允许自定义的id ------------------------- | id | protobuf message | -------------------------
leaf/processor.go:18
Struct
ttlNode
tools/mem/ttl_cache.go:8
TypeAlias
workList
array-based stack
tools/sample/alias.go:18