MCPcopy Create free account

hub / github.com/crabkun/crab / functions

Functions65 in github.com/crabkun/crab

↓ 19 callersMethodClose
()
crypto/crypto.go:12
↓ 8 callersFunctionResponse
(c net.Conn, code uint8, data []byte)
utils.go:61
↓ 7 callersMethodRead
(buf []byte)
crypto/crypto.go:10
↓ 7 callersMethodWrite
(buf []byte)
crypto/crypto.go:11
↓ 6 callersMethodClose
()
compress/compress.go:12
↓ 6 callersFunctionSendCommand
(c net.Conn, command uint8, data []byte)
utils.go:65
↓ 6 callersFunctiontcpBridge
(a io.ReadCloser, b io.WriteCloser)
bridge.go:9
↓ 4 callersFunctionReadFromSocket
(c net.Conn)
utils.go:10
↓ 3 callersMethodRead
(buf []byte)
compress/compress.go:10
↓ 3 callersMethodValidate
()
config/config.go:14
↓ 3 callersMethodWrite
(buf []byte)
compress/compress.go:11
↓ 3 callersFunctionregisterCompress
(name string, rf NewCompressReaderFunc, wf NewCompressWriterFunc)
compress/compress.go:21
↓ 2 callersMethodGetPort
(portKey string)
config/config.go:65
↓ 2 callersFunctionWriteToSocket
(c net.Conn, data []byte)
utils.go:39
↓ 2 callersFunctionregisterCrypto
(name string, rf NewCryptoReaderFunc, wf NewCryptoWriterFunc)
crypto/crypto.go:21
↓ 1 callersFunctionClientMain
(cfg *config.ClientConfig)
client.go:15
↓ 1 callersFunctionMasterMain
(cfg *config.MasterConfig)
master.go:28
↓ 1 callersFunctionServerMain
(cfg *config.ServerConfig)
server.go:14
↓ 1 callersMethodValidate
()
config/config.go:29
↓ 1 callersMethodValidate
()
config/config.go:45
↓ 1 callersMethodValidate
()
config/config.go:110
↓ 1 callersFunctionclientHandleNewConn
(remote net.Conn, cfg *config.PortConfig)
client.go:50
↓ 1 callersFunctionclientListenAt
(cfg *config.PortConfig)
client.go:25
↓ 1 callersFunctiongetRandomBytes
(l int64)
crypto/utils.go:5
↓ 1 callersFunctionmasterConnectPortKey
(conn net.Conn, portKey string)
master.go:221
↓ 1 callersFunctionmasterHandleNewConn
(conn net.Conn)
master.go:60
↓ 1 callersFunctionmasterHandleServer
(conn net.Conn, masterKeyBuf []byte)
master.go:122
↓ 1 callersFunctionmasterMatchClient
(c net.Conn, clientGuid string)
master.go:299
↓ 1 callersFunctionmasterRegisterPortKey
(c net.Conn, portKey string)
master.go:204
↓ 1 callersFunctionserverHandleNewClient
(master net.Conn, portCfg *config.PortConfig, guid string)
server.go:107
MethodClose
()
crypto/aes128cfb.go:41
MethodClose
()
crypto/plain.go:18
MethodClose
()
compress/zstd.go:26
MethodClose
()
compress/s2.go:26
MethodClose
()
compress/null.go:20
FunctionGetCompress
(name string)
compress/compress.go:33
FunctionGetCrypto
(name string)
crypto/crypto.go:33
FunctionNewAes128CfbCryptoReader
(key string, r io.ReadCloser)
crypto/aes128cfb.go:51
FunctionNewAes128CfbCryptoWriter
(key string, w io.WriteCloser)
crypto/aes128cfb.go:67
FunctionNewNullCompressReader
(r io.ReadCloser)
compress/null.go:36
FunctionNewNullCompressWriter
(w io.WriteCloser)
compress/null.go:30
FunctionNewPlainCryptoReader
(key string, r io.ReadCloser)
crypto/plain.go:28
FunctionNewPlainCryptoWriter
(key string, w io.WriteCloser)
crypto/plain.go:32
FunctionNewS2CompressReader
(r io.ReadCloser)
compress/s2.go:44
FunctionNewS2CompressWriter
(w io.WriteCloser)
compress/s2.go:36
FunctionNewZstdCompressReader
(r io.ReadCloser)
compress/zstd.go:47
FunctionNewZstdCompressWriter
(w io.WriteCloser)
compress/zstd.go:36
MethodRead
(buf []byte)
crypto/aes128cfb.go:20
MethodRead
(buf []byte)
crypto/plain.go:10
MethodRead
(buf []byte)
compress/zstd.go:14
MethodRead
(buf []byte)
compress/s2.go:14
MethodRead
(buf []byte)
compress/null.go:12
MethodValidate
()
config/config.go:83
MethodWrite
(buf []byte)
crypto/aes128cfb.go:37
MethodWrite
(buf []byte)
crypto/plain.go:14
MethodWrite
(buf []byte)
compress/zstd.go:18
MethodWrite
(buf []byte)
compress/s2.go:18
MethodWrite
(buf []byte)
compress/null.go:16
Functioninit
()
main.go:18
Functioninit
()
crypto/aes128cfb.go:92
Functioninit
()
crypto/plain.go:36
Functioninit
()
compress/zstd.go:58
Functioninit
()
compress/s2.go:52
Functioninit
()
compress/null.go:42
Functionmain
()
main.go:22