Documentation ¶
Index ¶
Constants ¶
View Source
const ( Connect tunnel.Command = 1 Associate tunnel.Command = 3 )
View Source
const Name = "SIMPLESOCKS"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DialPacket ¶
type PacketConn ¶
type PacketConn struct {
trojan.PacketConn
}
PacketConn is a simplesocks packet connection The header syntax is the same as trojan's
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a simplesocks server
func (*Server) AcceptPacket ¶
Click to show internal directories.
Click to hide internal directories.