MCPcopy Create free account

hub / github.com/buf1024/golib / functions

Functions132 in github.com/buf1024/golib

↓ 12 callersMethodLocalAddress
()
net/connection.go:96
↓ 12 callersMethodString
()
exam/pb/pb.pb.go:78
↓ 11 callersMethodlogMsg
(level int, msg string)
net/connection.go:149
↓ 10 callersMethodRemoteAddress
()
net/connection.go:69
↓ 8 callersMethodDebug
(msg *PbProto)
exam/pb/proto.go:118
↓ 8 callersMethodError
(format string, a ...interface{})
logging/logging.go:76
↓ 8 callersMethodSendData
SendData 向connection发送数据,如果connection不支持,data为[]byte
net/connection.go:518
↓ 7 callersMethodGetMessage
(command uint64)
exam/pb/proto.go:123
↓ 7 callersFunctionPrivateEncrypt
(privt *rsa.PrivateKey, data []byte)
crypt/rsa.go:99
↓ 7 callersFunctionPublicDecrypt
(pub *rsa.PublicKey, data []byte)
crypt/rsa.go:106
↓ 7 callersMethodWrite
(msg *Message)
logging/logging.go:35
↓ 7 callersMethodlogMessage
(chanMsg *Message, logMsg string, format string, a ...interface{})
logging/logging.go:175
↓ 6 callersMethodClose
()
logging/logging.go:36
↓ 6 callersMethodNet
()
net/connection.go:93
↓ 6 callersFunctionassertArrayEqual
(t *testing.T, a []byte, b []byte)
crypt/rsa_test.go:14
↓ 4 callersMethodCloseConn
CloseConn 关闭连接
net/connection.go:539
↓ 4 callersMethodPollEvent
PollEvent 事件轮询
net/connection.go:497
↓ 4 callersMethodSync
()
logging/logging.go:37
↓ 4 callersMethodcheckConnErr
(count int, err error, conn *Connection)
net/connection.go:252
↓ 3 callersMethodGetSID
()
exam/pb/pb.pb.go:82
↓ 3 callersMethodStatus
()
net/connection.go:61
↓ 2 callersMethodConnect
Connect 连接服务器器
net/connection.go:471
↓ 2 callersMethodCritical
(format string, a ...interface{})
logging/logging.go:59
↓ 2 callersMethodDebug
(format string, a ...interface{})
logging/logging.go:143
↓ 2 callersMethodInfo
(format string, a ...interface{})
logging/logging.go:126
↓ 2 callersMethodListen
Listen 监听网络 addr 为监听地址
net/connection.go:447
↓ 2 callersMethodName
()
logging/logging.go:33
↓ 2 callersMethodNotice
(format string, a ...interface{})
logging/logging.go:109
↓ 2 callersFunctionRegister
(log Loger)
logging/logging.go:353
↓ 2 callersFunctionSetupLog
(name string, conf string)
logging/logging.go:340
↓ 2 callersMethodTrace
(format string, a ...interface{})
logging/logging.go:159
↓ 2 callersMethodWarning
(format string, a ...interface{})
logging/logging.go:93
↓ 2 callersMethoddel
(con *mynet.Connection)
exam/pb/server/pb_server.go:88
↓ 2 callersMethodhandleRead
(conn *Connection)
net/connection.go:282
↓ 2 callersMethodhandleWrite
(conn *Connection)
net/connection.go:365
↓ 2 callersMethodlogSwitch
()
logging/file.go:28
↓ 2 callersMethodsyncAddClient
(conn *Connection)
net/connection.go:196
↓ 2 callersMethodsyncDelClient
(conn *Connection)
net/connection.go:217
↓ 1 callersMethodBodyLen
(head []byte)
net/connection.go:120
↓ 1 callersMethodClose
()
logging/file.go:119
↓ 1 callersMethodCloseListen
CloseListen 关闭服务器
net/connection.go:551
↓ 1 callersMethodFilterAccept
(conn *Connection)
net/connection.go:118
↓ 1 callersMethodHeadLen
()
net/connection.go:119
↓ 1 callersFunctionNewLogging
()
logging/logging.go:327
↓ 1 callersMethodOpen
(conf string)
logging/logging.go:34
↓ 1 callersMethodParse
(head interface{}, body []byte)
net/connection.go:121
↓ 1 callersMethodSerialize
(data interface{})
net/connection.go:122
↓ 1 callersMethodStart
()
logging/logging.go:244
↓ 1 callersMethodStartAsync
()
logging/logging.go:226
↓ 1 callersMethodStop
()
logging/logging.go:248
↓ 1 callersMethodUpdateTime
()
net/connection.go:72
↓ 1 callersMethodadd
(con *mynet.Connection)
exam/pb/server/pb_server.go:85
↓ 1 callersFunctionclientRcv
(conn *mynet.Connection)
exam/echo/client/echo_client.go:19
↓ 1 callersFunctionclientRcv
(conn *mynet.Connection)
exam/pb/client/pb_client.go:66
↓ 1 callersFunctionclientSend
(conn *mynet.Connection)
exam/echo/client/echo_client.go:62
↓ 1 callersFunctionclientSend
(conn *mynet.Connection)
exam/pb/client/pb_client.go:110
↓ 1 callersMethoddestroy
()
exam/pb/server/pb_server.go:199
↓ 1 callersFunctionencrypt
copy from crypt/rsa/pkcs1v5.go
crypt/rsa.go:24
↓ 1 callersFunctionhandler
(conn *mynet.Connection, msg *pb.PbProto)
exam/pb/client/pb_client.go:22
↓ 1 callersMethodhandler
(conn *mynet.Connection, msg *pb.PbProto)
exam/pb/server/pb_server.go:21
↓ 1 callersMethodhearbeat
()
exam/pb/server/pb_server.go:101
↓ 1 callersFunctioninput
(conn *mynet.Connection)
exam/echo/client/echo_client.go:91
↓ 1 callersFunctioninput
(conn *mynet.Connection)
exam/pb/client/pb_client.go:186
↓ 1 callersFunctionleftPad
copy from crypt/rsa/pkcs1v5.go
crypt/rsa.go:50
↓ 1 callersMethodlistening
(l *Listener)
net/connection.go:393
↓ 1 callersFunctionpkcs1v15HashInfo
copy from crypt/rsa/pkcs1v5.go
crypt/rsa.go:31
↓ 1 callersFunctionpublicDecrypt
copy&modified from crypt/rsa/pkcs1v5.go
crypt/rsa.go:78
↓ 1 callersFunctionserver
(listen *mynet.Listener)
exam/echo/server/echo_server.go:12
↓ 1 callersMethodserver
()
exam/pb/server/pb_server.go:152
↓ 1 callersMethodsyncAddListen
(listen *Listener)
net/connection.go:172
↓ 1 callersFunctionunLeftPad
(input []byte)
crypt/rsa.go:59
↓ 1 callersMethodwaitMsg
()
logging/logging.go:282
MethodBodyLen
(head []byte)
exam/pb/proto.go:47
MethodClose
()
logging/console.go:29
MethodDescriptor
()
exam/pb/pb.pb.go:43
MethodDescriptor
()
exam/pb/pb.pb.go:61
MethodDescriptor
()
exam/pb/pb.pb.go:80
MethodDescriptor
()
exam/pb/pb.pb.go:106
MethodFilterAccept
(conn *mynet.Connection)
exam/pb/proto.go:41
MethodGetBiz
()
exam/pb/pb.pb.go:89
MethodGetRetCode
()
exam/pb/pb.pb.go:108
MethodGetSID
()
exam/pb/pb.pb.go:45
MethodGetSID
()
exam/pb/pb.pb.go:63
MethodGetSID
()
exam/pb/pb.pb.go:115
MethodHeadLen
()
exam/pb/proto.go:44
MethodID
()
net/connection.go:57
MethodID
()
net/connection.go:90
MethodLocalAddress
()
net/connection.go:65
FunctionLogLevel
(levelStr string)
logging/logging.go:332
MethodMarshalXML
(e *xml.Encoder, start xml.StartElement)
test/xml/map_test.go:15
MethodMarshalXML
(e *xml.Encoder, start xml.StartElement)
test/xml/cdata_test.go:21
MethodName
()
logging/console.go:15
MethodName
()
logging/file.go:74
MethodNet
()
net/connection.go:54
FunctionNewSimpleNet
NewSimpleNet 创建
net/connection.go:126
MethodOpen
(conf string)
logging/console.go:18
MethodOpen
`{"prefix":"hello", "filedir":"./", "level":0, "switchsize":1024, "switchtime":86400}`)
logging/file.go:79
MethodParse
(head interface{}, body []byte)
exam/pb/proto.go:75
MethodProtoMessage
()
exam/pb/pb.pb.go:42
MethodProtoMessage
()
exam/pb/pb.pb.go:60
next →1–100 of 132, ranked by callers