Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Terry-Ye/im
/ functions
Functions
224 in github.com/Terry-Ye/im
⨍
Functions
224
◇
Types & classes
46
↓ 1 callers
Function
CityHash32
(s []byte, length uint32)
libs/hash/cityhash/cityhash.go:213
↓ 1 callers
Function
CityHash64WithSeed
(s []byte, length uint32, seed uint64)
libs/hash/cityhash/cityhash.go:458
↓ 1 callers
Method
Connect
(*proto.ConnArg)
comet/operator.go:8
↓ 1 callers
Method
Disconnect
(*proto.DisconnArg)
comet/operator.go:9
↓ 1 callers
Function
G
(a)
demo/js/jquery.min.js:2
↓ 1 callers
Function
Ga
(a,b,c)
demo/js/jquery.min.js:3
↓ 1 callers
Method
Hash
(s string)
libs/hash/ketama/ketama.go:63
↓ 1 callers
Function
InitComets
()
job/comet.go:21
↓ 1 callers
Function
InitConfig
type CometConf struct { Key int8 `mapstructure:"key"` Addr string `mapstructure:"addr"` }
job/config.go:56
↓ 1 callers
Function
InitConfig
()
logic/config.go:53
↓ 1 callers
Function
InitConfig
()
comet/config.go:78
↓ 1 callers
Function
InitHTTP
()
logic/http.go:21
↓ 1 callers
Function
InitLogicRpcClient
()
comet/logic.go:14
↓ 1 callers
Function
InitLogicRpcServer
()
comet/rpc.go:18
↓ 1 callers
Function
InitPush
()
job/push.go:23
↓ 1 callers
Function
InitRPC
()
logic/rpc.go:18
↓ 1 callers
Function
InitRedis
()
job/redis.go:13
↓ 1 callers
Function
InitRedis
()
logic/redis.go:16
↓ 1 callers
Function
InitWebsocket
()
comet/websocket.go:31
↓ 1 callers
Function
NewBucket
(boptions BucketOptions)
comet/bucket.go:27
↓ 1 callers
Function
NewChannel
(svr int)
comet/channel.go:18
↓ 1 callers
Function
NewConfig
()
job/config.go:73
↓ 1 callers
Function
NewConfig
()
logic/config.go:70
↓ 1 callers
Function
NewConfig
()
comet/config.go:95
↓ 1 callers
Function
NewRing
(n int)
libs/hash/ketama/ketama.go:32
↓ 1 callers
Function
NewRoom
(Id int32)
comet/room.go:18
↓ 1 callers
Function
NewServer
NewServer returns a new Server.
comet/sever.go:27
↓ 1 callers
Method
PushRoom
(c chan *proto.RoomMsgArg)
comet/bucket.go:74
↓ 1 callers
Function
PushSingleToComet
** 广播消息到单个用户 */
job/comet.go:47
↓ 1 callers
Method
Put
(ch *Channel)
comet/room.go:28
↓ 1 callers
Function
RedisPublishCh
发布订阅消息
logic/redis.go:30
↓ 1 callers
Function
RedisPublishRoom
发布到房间
logic/redis.go:47
↓ 1 callers
Function
RedisPublishRoomCount
(rid int32, count int)
logic/redis.go:59
↓ 1 callers
Method
Room
Room get a room by roomid.
comet/bucket.go:112
↓ 1 callers
Method
Sort
()
libs/hash/ketama/ketama.go:24
↓ 1 callers
Function
Ua
(a,b,c)
demo/js/jquery.min.js:3
↓ 1 callers
Function
Wa
(a,b)
demo/js/jquery.min.js:3
↓ 1 callers
Function
Xa
(a,b,c)
demo/js/jquery.min.js:3
↓ 1 callers
Function
addRegistryPlugin
(s *server.Server, network string, addr string)
logic/rpc.go:46
↓ 1 callers
Function
addRegistryPlugin
(s *server.Server, network string, addr string)
comet/rpc.go:44
↓ 1 callers
Function
broadcastRoomCountToComet
** 广播在线人数到房间 */
job/comet.go:80
↓ 1 callers
Function
broadcastRoomInfoToComet
** 广播房间信息到房间 */
job/comet.go:114
↓ 1 callers
Function
broadcastRoomToComet
** 广播消息到房间 */
job/comet.go:61
↓ 1 callers
Function
cityMurmur
(s []byte, length uint32, seed Uint128)
libs/hash/cityhash/cityhash.go:466
↓ 1 callers
Function
connect
(connArg *proto.ConnArg)
comet/logic.go:24
↓ 1 callers
Function
createServer
(network string, addr string)
logic/rpc.go:36
↓ 1 callers
Function
createServer
(network string, addr string)
comet/rpc.go:33
↓ 1 callers
Function
d
(b)
demo/js/bootstrap.min.js:6
↓ 1 callers
Method
delCh
(ch *Channel)
comet/bucket.go:90
↓ 1 callers
Function
disconnect
(disconnArg *proto.DisconnArg)
comet/logic.go:37
↓ 1 callers
Function
e
()
demo/js/bootstrap.min.js:6
↓ 1 callers
Function
f
()
demo/js/bootstrap.min.js:7
↓ 1 callers
Function
g
(b)
demo/js/bootstrap.min.js:6
↓ 1 callers
Function
hash128to64
(x Uint128)
libs/hash/cityhash/cityhash.go:322
↓ 1 callers
Function
hash32Len0to4
(s []byte, length uint32)
libs/hash/cityhash/cityhash.go:190
↓ 1 callers
Function
hash32Len13to24
(s []byte, length uint32)
libs/hash/cityhash/cityhash.go:178
↓ 1 callers
Function
hash32Len5to12
(s []byte, length uint32)
libs/hash/cityhash/cityhash.go:202
↓ 1 callers
Function
hashLen17to32
(s []byte, length uint32)
libs/hash/cityhash/cityhash.go:375
↓ 1 callers
Function
hashLen33to64
(s []byte, length uint32)
libs/hash/cityhash/cityhash.go:398
↓ 1 callers
Function
httpListen
(mux *http.ServeMux, network, addr string)
logic/http.go:46
↓ 1 callers
Function
httpsListen
(mux *http.ServeMux, network, addr string)
logic/http.go:89
↓ 1 callers
Function
permute3
(a, b, c *uint32)
libs/hash/cityhash/cityhash.go:161
↓ 1 callers
Function
processPush
(ch chan *pushArg)
job/push.go:32
↓ 1 callers
Function
push
(msg string)
job/push.go:41
↓ 1 callers
Function
q
()
demo/js/bootstrap.min.js:6
↓ 1 callers
Method
readPump
(ch *Channel)
comet/websocket.go:75
↓ 1 callers
Function
setup
Initialize data to pseudorandom values.
libs/hash/cityhash/cityhash_test.go:924
↓ 1 callers
Function
tb
(a,b,c)
demo/js/jquery.min.js:4
↓ 1 callers
Function
ua
(a,b,c)
demo/js/jquery.min.js:2
↓ 1 callers
Function
ub
(a,b,c,d)
demo/js/jquery.min.js:4
↓ 1 callers
Function
weakHashLen32WithSeeds
(w, x, y, z, a, b uint64)
libs/hash/cityhash/cityhash.go:384
↓ 1 callers
Method
writePump
(ch *Channel)
comet/websocket.go:147
Function
$
()
demo/js/jquery.min.js:3
Function
B
(a,b)
demo/js/jquery.min.js:2
Method
Bake
()
libs/hash/ketama/ketama.go:58
Function
Benchmark_Hash
(b *testing.B)
libs/hash/ketama/ketama_test.go:8
Method
Bytes
()
libs/hash/cityhash/cityhash.go:315
Method
Connect
(ctx context.Context, args *proto.ConnArg, reply *proto.ConnReply)
logic/rpc.go:61
Method
Connect
(connArg *proto.ConnArg)
comet/operator.go:15
Function
Count
** 获取在线人数 */
logic/http.go:230
Method
Disconnect
(ctx context.Context, args *proto.DisconnArg, reply *proto.DisconnReply)
logic/rpc.go:100
Method
Disconnect
(disconnArg *proto.DisconnArg)
comet/operator.go:22
Function
GetRoomInfo
** 获取房间信息 */
logic/http.go:267
Function
I
()
demo/js/jquery.min.js:2
Function
Init
StartPprof start http pprof.
libs/perf/perf.go:11
Function
InitHTTPS
()
logic/http.go:63
Function
InitWebsocketWss
()
comet/websocket.go:41
Function
IsLittleEndian
* var ( little bool ) func init() { if IsLittleEndian() { little = true } else { little = false } } */
libs/hash/cityhash/cityhash.go:32
Function
K
()
demo/js/jquery.min.js:2
Function
Ka
(a,b,c,d,e)
demo/js/jquery.min.js:3
Method
Len
()
libs/hash/ketama/ketama.go:21
Method
Less
(i, j int)
libs/hash/ketama/ketama.go:22
Function
ParseNetwork
(str string)
libs/net/operation.go:12
Function
Push
** */
logic/http.go:169
Method
Push
(p *proto.Proto)
comet/channel.go:27
Function
PushRoom
(w http.ResponseWriter, r *http.Request)
logic/http.go:108
Method
PushRoomCount
** 广播房间人数 */
comet/rpc.go:112
Method
PushRoomInfo
** 广播房间信息 */
comet/rpc.go:126
Method
PushRoomMsg
(ctx context.Context, args *proto.RoomMsgArg, SuccessReply *proto.SuccessReply)
comet/rpc.go:96
Method
PushSingleMsg
func (rpc *PushRpc) MPushMsg(ctx context.Context, args *proto.PushMsgArg, noReply *proto.NoReply) (err error) { log.Info("rpc PushMsg :%v ", args)
comet/rpc.go:71
← previous
next →
101–200 of 224, ranked by callers