Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bepass-org/proxy
/ types & classes
Types & classes
35 in github.com/bepass-org/proxy
⨍
Functions
112
◇
Types & classes
35
↓ 6 callers
FuncType
UserConnectHandler
UserConnectHandler is used for socks5, socks4 and http
pkg/statute/statute.go:36
↓ 2 callers
FuncType
UserAssociateHandler
UserAssociateHandler is used for socks5
pkg/statute/statute.go:39
↓ 1 callers
TypeAlias
Command
Command is a SOCKS Command.
pkg/socks4/common.go:25
↓ 1 callers
TypeAlias
Command
Command is a SOCKS Command.
pkg/socks5/common.go:36
Struct
AddrAnfUser
pkg/socks4/common.go:88
Interface
BytesPool
BytesPool is an interface for getting and returning temporary bytes for use by io.CopyBuffer.
pkg/statute/statute.go:66
Struct
DefaultLogger
pkg/statute/statute.go:15
Interface
Logger
pkg/statute/statute.go:10
Struct
Logger
Logger is a logger that implements statute.Logger to be able to be used in mixed.WithLogger
example/customLogger/logger.go:10
FuncType
Option
func(*Proxy)
pkg/mixed/proxy.go:56
FuncType
PacketForwardAddress
PacketForwardAddress specifies the packet forwarding address
pkg/statute/statute.go:61
Struct
Proxy
pkg/mixed/proxy.go:15
FuncType
ProxyDialFunc
ProxyDialFunc is used for socks5, socks4 and http
pkg/statute/statute.go:42
FuncType
ProxyListenPacket
ProxyListenPacket specifies the optional proxyListenPacket function for establishing the transport connection.
pkg/statute/statute.go:52
Struct
ProxyRequest
pkg/statute/statute.go:25
Struct
Server
pkg/http/server.go:13
Struct
Server
Server is accepting connections and handling the details of the SOCKS4 protocol
pkg/socks4/server.go:12
Struct
Server
Server is accepting connections and handling the details of the SOCKS5 protocol
pkg/socks5/server.go:13
FuncType
ServerOption
func(*Server)
pkg/http/server.go:44
FuncType
ServerOption
func(*Server)
pkg/socks4/server.go:42
FuncType
ServerOption
func(*Server)
pkg/socks5/server.go:53
Struct
SwitchConn
SwitchConn wraps a net.Conn and a bufio.Reader
pkg/mixed/proxy.go:59
Struct
address
address is a SOCKS-specific address. Either Name or IP is used exclusively.
pkg/socks4/common.go:63
Struct
address
address is a SOCKS-specific address. Either Name or IP is used exclusively.
pkg/socks5/common.go:111
TypeAlias
authMethod
authMethod is a SOCKS authentication method.
pkg/socks5/common.go:137
Struct
customConn
pkg/http/common.go:59
Struct
readStruct
pkg/socks5/common.go:301
TypeAlias
reply
reply is a SOCKS Command reply code.
pkg/socks4/common.go:44
TypeAlias
reply
reply is a SOCKS Command reply code.
pkg/socks5/common.go:76
Struct
request
pkg/socks4/server.go:235
Struct
request
pkg/socks5/server.go:433
Struct
responseWriter
pkg/http/common.go:17
TypeAlias
tunnelErr
pkg/statute/tunnel.go:68
Struct
udpCustomConn
pkg/socks5/common.go:306
FuncType
userHandler
func(request *statute.ProxyRequest) error
pkg/mixed/proxy.go:13