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 ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DialPacket ¶
type PacketConn ¶
type PacketConn struct { trojan.PacketConn // contains filtered or unexported fields }
PacketConn is a simplesocks packet connection The header syntax is the same as trojan's
func (*PacketConn) Epoch ¶
func (c *PacketConn) Epoch() time.Time
func (*PacketConn) Name ¶
func (c *PacketConn) Name() string
func (*PacketConn) Tunnels ¶
func (c *PacketConn) Tunnels() *tunnel.Tunnels
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.