Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bepass-org/proxy
/ functions
Functions
112 in github.com/bepass-org/proxy
⨍
Functions
112
◇
Types & classes
35
↓ 20 callers
Method
Error
(v ...interface{})
pkg/statute/statute.go:12
↓ 19 callers
Method
Write
(b []byte)
pkg/socks5/common.go:390
↓ 17 callers
Method
String
()
pkg/socks5/common.go:78
↓ 16 callers
Method
Close
()
pkg/socks5/common.go:406
↓ 9 callers
Method
Write
(data []byte)
pkg/http/common.go:52
↓ 7 callers
Method
Read
(b []byte)
pkg/socks5/common.go:380
↓ 7 callers
Function
sendReply
(w io.Writer, resp reply, addr *address)
pkg/socks5/server.go:424
↓ 6 callers
Method
Debug
(v ...interface{})
pkg/statute/statute.go:11
↓ 6 callers
Method
Get
()
pkg/statute/statute.go:67
↓ 6 callers
Method
Put
([]byte)
pkg/statute/statute.go:68
↓ 5 callers
Function
sendReply
(w io.Writer, resp reply, addr *address)
pkg/socks4/server.go:226
↓ 4 callers
Function
DefaultContext
DefaultContext for context.Context type
pkg/statute/statute.go:72
↓ 4 callers
Function
DefaultProxyDial
DefaultProxyDial for ProxyDialFunc type
pkg/statute/statute.go:45
↓ 4 callers
Method
ServeConn
(conn net.Conn)
pkg/http/server.go:124
↓ 3 callers
Method
ListenAndServe
()
pkg/mixed/proxy.go:77
↓ 3 callers
Method
Network
()
pkg/socks5/common.go:117
↓ 3 callers
Function
NewProxy
(options ...Option)
pkg/mixed/proxy.go:38
↓ 3 callers
Method
String
()
pkg/socks4/common.go:46
↓ 3 callers
Function
Tunnel
Tunnel create tunnels for two io.ReadWriteCloser
pkg/statute/tunnel.go:47
↓ 3 callers
Function
readAddr
(r io.Reader)
pkg/socks5/common.go:176
↓ 3 callers
Function
writeAddr
(w io.Writer, addr *address)
pkg/socks5/common.go:218
↓ 2 callers
Method
Address
Address returns a string suitable to dial; prefer returning IP-based address, fallback to Name
pkg/socks4/common.go:80
↓ 2 callers
Method
Address
Address returns a string suitable to dial; prefer returning IP-based address, fallback to Name
pkg/socks5/common.go:128
↓ 2 callers
Function
WithBindAddress
(binAddress string)
pkg/mixed/handlers.go:8
↓ 2 callers
Function
errToReply
(err error)
pkg/socks5/common.go:61
↓ 2 callers
Function
readByte
(r io.Reader)
pkg/socks4/common.go:108
↓ 2 callers
Function
readBytes
(r io.Reader)
pkg/socks4/common.go:93
↓ 2 callers
Function
writeAddrWithStr
(w io.Writer, addr string)
pkg/socks5/common.go:275
↓ 1 callers
Function
DefaultProxyListenPacket
DefaultProxyListenPacket for ProxyListenPacket type
pkg/statute/statute.go:55
↓ 1 callers
Method
FirstError
()
pkg/statute/tunnel.go:70
↓ 1 callers
Function
NewHTTPResponseWriter
(conn net.Conn)
pkg/http/common.go:24
↓ 1 callers
Function
NewLogger
NewLogger creates the log file and configures logger to write to both file & Standard streams(Stdout, Stderr)
example/customLogger/logger.go:16
↓ 1 callers
Function
NewServer
(options ...ServerOption)
pkg/http/server.go:29
↓ 1 callers
Function
NewServer
(options ...ServerOption)
pkg/socks4/server.go:28
↓ 1 callers
Function
NewServer
(options ...ServerOption)
pkg/socks5/server.go:36
↓ 1 callers
Function
NewSwitchConn
NewSwitchConn creates a new SwitchConn
pkg/mixed/proxy.go:65
↓ 1 callers
Method
Read
(p []byte)
pkg/http/common.go:66
↓ 1 callers
Method
Read
Read reads data into p, first from the bufio.Reader, then from the net.Conn
pkg/mixed/proxy.go:73
↓ 1 callers
Method
ServeConn
(conn net.Conn)
pkg/socks4/server.go:122
↓ 1 callers
Method
ServeConn
(conn net.Conn)
pkg/socks5/server.go:151
↓ 1 callers
Function
WithLogger
(logger statute.Logger)
pkg/mixed/handlers.go:17
↓ 1 callers
Function
WithUserHandler
(handler userHandler)
pkg/mixed/handlers.go:26
↓ 1 callers
Method
WriteHeader
(statusCode int)
pkg/http/common.go:36
↓ 1 callers
Method
asyncReadPackets
()
pkg/socks5/common.go:322
↓ 1 callers
Method
embedHandleAssociate
(req *request, udpConn net.PacketConn)
pkg/socks5/server.go:343
↓ 1 callers
Method
embedHandleConnect
(req *request)
pkg/socks4/server.go:191
↓ 1 callers
Method
embedHandleConnect
(req *request)
pkg/socks5/server.go:254
↓ 1 callers
Method
embedHandleHTTP
(conn net.Conn, req *http.Request, isConnectMethod bool)
pkg/http/server.go:183
↓ 1 callers
Function
errno
(v error)
pkg/statute/tunnel.go:39
↓ 1 callers
Method
handle
(req *request)
pkg/socks4/server.go:153
↓ 1 callers
Method
handle
(req *request)
pkg/socks5/server.go:214
↓ 1 callers
Method
handleAssociate
(req *request)
pkg/socks5/server.go:295
↓ 1 callers
Method
handleConnect
(req *request)
pkg/socks4/server.go:165
↓ 1 callers
Method
handleConnect
(req *request)
pkg/socks5/server.go:228
↓ 1 callers
Method
handleConnection
(conn net.Conn)
pkg/mixed/proxy.go:119
↓ 1 callers
Method
handleHTTP
(conn net.Conn, req *http.Request, isConnectMethod bool)
pkg/http/server.go:134
↓ 1 callers
Function
isClosedConnError
isClosedConnError reports whether err is an error from use of a closed network connection.
pkg/statute/tunnel.go:15
↓ 1 callers
Function
readAddrAndUser
(r io.Reader)
pkg/socks4/common.go:117
↓ 1 callers
Function
readByte
(r io.Reader)
pkg/socks5/common.go:167
↓ 1 callers
Function
readBytes
(r io.Reader)
pkg/socks5/common.go:144
↓ 1 callers
Function
splitHostPort
(address string)
pkg/socks5/common.go:286
↓ 1 callers
Function
writeAddr
(w io.Writer, addr *address)
pkg/socks4/common.go:147
Method
Debug
(v ...interface{})
example/customLogger/logger.go:31
Method
Debug
(v ...interface{})
pkg/statute/statute.go:17
Method
Error
(v ...interface{})
example/customLogger/logger.go:35
Method
Error
(v ...interface{})
pkg/statute/statute.go:21
Method
Header
()
pkg/http/common.go:32
Method
ListenAndServe
()
pkg/http/server.go:46
Method
ListenAndServe
()
pkg/socks4/server.go:44
Method
ListenAndServe
()
pkg/socks5/server.go:55
Method
Network
()
pkg/socks4/common.go:69
Method
RemoteAddr
()
pkg/socks5/common.go:318
Method
String
()
pkg/socks4/common.go:27
Method
String
()
pkg/socks4/common.go:71
Method
String
()
pkg/socks5/common.go:38
Method
String
()
pkg/socks5/common.go:119
Function
WithAssociateHandle
(handler statute.UserAssociateHandler)
pkg/socks5/server.go:115
Function
WithBind
(bindAddress string)
pkg/http/server.go:94
Function
WithBind
(bindAddress string)
pkg/socks4/server.go:92
Function
WithBind
(bindAddress string)
pkg/socks5/server.go:103
Function
WithBytesPool
(bytesPool statute.BytesPool)
pkg/http/server.go:118
Function
WithBytesPool
(bytesPool statute.BytesPool)
pkg/socks4/server.go:116
Function
WithBytesPool
(bytesPool statute.BytesPool)
pkg/mixed/handlers.go:82
Function
WithBytesPool
(bytesPool statute.BytesPool)
pkg/socks5/server.go:145
Function
WithConnectHandle
(handler statute.UserConnectHandler)
pkg/http/server.go:100
Function
WithConnectHandle
(handler statute.UserConnectHandler)
pkg/socks4/server.go:98
Function
WithConnectHandle
(handler statute.UserConnectHandler)
pkg/socks5/server.go:109
Function
WithContext
(ctx context.Context)
pkg/http/server.go:112
Function
WithContext
(ctx context.Context)
pkg/socks4/server.go:110
Function
WithContext
(ctx context.Context)
pkg/mixed/handlers.go:73
Function
WithContext
(ctx context.Context)
pkg/socks5/server.go:139
Function
WithLogger
(logger statute.Logger)
pkg/http/server.go:88
Function
WithLogger
(logger statute.Logger)
pkg/socks4/server.go:86
Function
WithLogger
(logger statute.Logger)
pkg/socks5/server.go:97
Function
WithPacketForwardAddress
(packetForwardAddress statute.PacketForwardAddress)
pkg/socks5/server.go:133
Function
WithProxyDial
(proxyDial statute.ProxyDialFunc)
pkg/http/server.go:106
Function
WithProxyDial
(proxyDial statute.ProxyDialFunc)
pkg/socks4/server.go:104
Function
WithProxyDial
(proxyDial statute.ProxyDialFunc)
pkg/socks5/server.go:121
Function
WithProxyListenPacket
(proxyListenPacket statute.ProxyListenPacket)
pkg/socks5/server.go:127
Function
WithUserDialFunc
(proxyDial statute.ProxyDialFunc)
pkg/mixed/handlers.go:52
next →
1–100 of 112, ranked by callers