MCPcopy Create free account

hub / github.com/bepass-org/proxy / functions

Functions112 in github.com/bepass-org/proxy

↓ 20 callersMethodError
(v ...interface{})
pkg/statute/statute.go:12
↓ 19 callersMethodWrite
(b []byte)
pkg/socks5/common.go:390
↓ 17 callersMethodString
()
pkg/socks5/common.go:78
↓ 16 callersMethodClose
()
pkg/socks5/common.go:406
↓ 9 callersMethodWrite
(data []byte)
pkg/http/common.go:52
↓ 7 callersMethodRead
(b []byte)
pkg/socks5/common.go:380
↓ 7 callersFunctionsendReply
(w io.Writer, resp reply, addr *address)
pkg/socks5/server.go:424
↓ 6 callersMethodDebug
(v ...interface{})
pkg/statute/statute.go:11
↓ 6 callersMethodGet
()
pkg/statute/statute.go:67
↓ 6 callersMethodPut
([]byte)
pkg/statute/statute.go:68
↓ 5 callersFunctionsendReply
(w io.Writer, resp reply, addr *address)
pkg/socks4/server.go:226
↓ 4 callersFunctionDefaultContext
DefaultContext for context.Context type
pkg/statute/statute.go:72
↓ 4 callersFunctionDefaultProxyDial
DefaultProxyDial for ProxyDialFunc type
pkg/statute/statute.go:45
↓ 4 callersMethodServeConn
(conn net.Conn)
pkg/http/server.go:124
↓ 3 callersMethodListenAndServe
()
pkg/mixed/proxy.go:77
↓ 3 callersMethodNetwork
()
pkg/socks5/common.go:117
↓ 3 callersFunctionNewProxy
(options ...Option)
pkg/mixed/proxy.go:38
↓ 3 callersMethodString
()
pkg/socks4/common.go:46
↓ 3 callersFunctionTunnel
Tunnel create tunnels for two io.ReadWriteCloser
pkg/statute/tunnel.go:47
↓ 3 callersFunctionreadAddr
(r io.Reader)
pkg/socks5/common.go:176
↓ 3 callersFunctionwriteAddr
(w io.Writer, addr *address)
pkg/socks5/common.go:218
↓ 2 callersMethodAddress
Address returns a string suitable to dial; prefer returning IP-based address, fallback to Name
pkg/socks4/common.go:80
↓ 2 callersMethodAddress
Address returns a string suitable to dial; prefer returning IP-based address, fallback to Name
pkg/socks5/common.go:128
↓ 2 callersFunctionWithBindAddress
(binAddress string)
pkg/mixed/handlers.go:8
↓ 2 callersFunctionerrToReply
(err error)
pkg/socks5/common.go:61
↓ 2 callersFunctionreadByte
(r io.Reader)
pkg/socks4/common.go:108
↓ 2 callersFunctionreadBytes
(r io.Reader)
pkg/socks4/common.go:93
↓ 2 callersFunctionwriteAddrWithStr
(w io.Writer, addr string)
pkg/socks5/common.go:275
↓ 1 callersFunctionDefaultProxyListenPacket
DefaultProxyListenPacket for ProxyListenPacket type
pkg/statute/statute.go:55
↓ 1 callersMethodFirstError
()
pkg/statute/tunnel.go:70
↓ 1 callersFunctionNewHTTPResponseWriter
(conn net.Conn)
pkg/http/common.go:24
↓ 1 callersFunctionNewLogger
NewLogger creates the log file and configures logger to write to both file & Standard streams(Stdout, Stderr)
example/customLogger/logger.go:16
↓ 1 callersFunctionNewServer
(options ...ServerOption)
pkg/http/server.go:29
↓ 1 callersFunctionNewServer
(options ...ServerOption)
pkg/socks4/server.go:28
↓ 1 callersFunctionNewServer
(options ...ServerOption)
pkg/socks5/server.go:36
↓ 1 callersFunctionNewSwitchConn
NewSwitchConn creates a new SwitchConn
pkg/mixed/proxy.go:65
↓ 1 callersMethodRead
(p []byte)
pkg/http/common.go:66
↓ 1 callersMethodRead
Read reads data into p, first from the bufio.Reader, then from the net.Conn
pkg/mixed/proxy.go:73
↓ 1 callersMethodServeConn
(conn net.Conn)
pkg/socks4/server.go:122
↓ 1 callersMethodServeConn
(conn net.Conn)
pkg/socks5/server.go:151
↓ 1 callersFunctionWithLogger
(logger statute.Logger)
pkg/mixed/handlers.go:17
↓ 1 callersFunctionWithUserHandler
(handler userHandler)
pkg/mixed/handlers.go:26
↓ 1 callersMethodWriteHeader
(statusCode int)
pkg/http/common.go:36
↓ 1 callersMethodasyncReadPackets
()
pkg/socks5/common.go:322
↓ 1 callersMethodembedHandleAssociate
(req *request, udpConn net.PacketConn)
pkg/socks5/server.go:343
↓ 1 callersMethodembedHandleConnect
(req *request)
pkg/socks4/server.go:191
↓ 1 callersMethodembedHandleConnect
(req *request)
pkg/socks5/server.go:254
↓ 1 callersMethodembedHandleHTTP
(conn net.Conn, req *http.Request, isConnectMethod bool)
pkg/http/server.go:183
↓ 1 callersFunctionerrno
(v error)
pkg/statute/tunnel.go:39
↓ 1 callersMethodhandle
(req *request)
pkg/socks4/server.go:153
↓ 1 callersMethodhandle
(req *request)
pkg/socks5/server.go:214
↓ 1 callersMethodhandleAssociate
(req *request)
pkg/socks5/server.go:295
↓ 1 callersMethodhandleConnect
(req *request)
pkg/socks4/server.go:165
↓ 1 callersMethodhandleConnect
(req *request)
pkg/socks5/server.go:228
↓ 1 callersMethodhandleConnection
(conn net.Conn)
pkg/mixed/proxy.go:119
↓ 1 callersMethodhandleHTTP
(conn net.Conn, req *http.Request, isConnectMethod bool)
pkg/http/server.go:134
↓ 1 callersFunctionisClosedConnError
isClosedConnError reports whether err is an error from use of a closed network connection.
pkg/statute/tunnel.go:15
↓ 1 callersFunctionreadAddrAndUser
(r io.Reader)
pkg/socks4/common.go:117
↓ 1 callersFunctionreadByte
(r io.Reader)
pkg/socks5/common.go:167
↓ 1 callersFunctionreadBytes
(r io.Reader)
pkg/socks5/common.go:144
↓ 1 callersFunctionsplitHostPort
(address string)
pkg/socks5/common.go:286
↓ 1 callersFunctionwriteAddr
(w io.Writer, addr *address)
pkg/socks4/common.go:147
MethodDebug
(v ...interface{})
example/customLogger/logger.go:31
MethodDebug
(v ...interface{})
pkg/statute/statute.go:17
MethodError
(v ...interface{})
example/customLogger/logger.go:35
MethodError
(v ...interface{})
pkg/statute/statute.go:21
MethodHeader
()
pkg/http/common.go:32
MethodListenAndServe
()
pkg/http/server.go:46
MethodListenAndServe
()
pkg/socks4/server.go:44
MethodListenAndServe
()
pkg/socks5/server.go:55
MethodNetwork
()
pkg/socks4/common.go:69
MethodRemoteAddr
()
pkg/socks5/common.go:318
MethodString
()
pkg/socks4/common.go:27
MethodString
()
pkg/socks4/common.go:71
MethodString
()
pkg/socks5/common.go:38
MethodString
()
pkg/socks5/common.go:119
FunctionWithAssociateHandle
(handler statute.UserAssociateHandler)
pkg/socks5/server.go:115
FunctionWithBind
(bindAddress string)
pkg/http/server.go:94
FunctionWithBind
(bindAddress string)
pkg/socks4/server.go:92
FunctionWithBind
(bindAddress string)
pkg/socks5/server.go:103
FunctionWithBytesPool
(bytesPool statute.BytesPool)
pkg/http/server.go:118
FunctionWithBytesPool
(bytesPool statute.BytesPool)
pkg/socks4/server.go:116
FunctionWithBytesPool
(bytesPool statute.BytesPool)
pkg/mixed/handlers.go:82
FunctionWithBytesPool
(bytesPool statute.BytesPool)
pkg/socks5/server.go:145
FunctionWithConnectHandle
(handler statute.UserConnectHandler)
pkg/http/server.go:100
FunctionWithConnectHandle
(handler statute.UserConnectHandler)
pkg/socks4/server.go:98
FunctionWithConnectHandle
(handler statute.UserConnectHandler)
pkg/socks5/server.go:109
FunctionWithContext
(ctx context.Context)
pkg/http/server.go:112
FunctionWithContext
(ctx context.Context)
pkg/socks4/server.go:110
FunctionWithContext
(ctx context.Context)
pkg/mixed/handlers.go:73
FunctionWithContext
(ctx context.Context)
pkg/socks5/server.go:139
FunctionWithLogger
(logger statute.Logger)
pkg/http/server.go:88
FunctionWithLogger
(logger statute.Logger)
pkg/socks4/server.go:86
FunctionWithLogger
(logger statute.Logger)
pkg/socks5/server.go:97
FunctionWithPacketForwardAddress
(packetForwardAddress statute.PacketForwardAddress)
pkg/socks5/server.go:133
FunctionWithProxyDial
(proxyDial statute.ProxyDialFunc)
pkg/http/server.go:106
FunctionWithProxyDial
(proxyDial statute.ProxyDialFunc)
pkg/socks4/server.go:104
FunctionWithProxyDial
(proxyDial statute.ProxyDialFunc)
pkg/socks5/server.go:121
FunctionWithProxyListenPacket
(proxyListenPacket statute.ProxyListenPacket)
pkg/socks5/server.go:127
FunctionWithUserDialFunc
(proxyDial statute.ProxyDialFunc)
pkg/mixed/handlers.go:52
next →1–100 of 112, ranked by callers