Documentation ¶
Index ¶
Constants ¶
View Source
const (
MaxPacketSize = 1024 * 8
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
modified from https://github.com/p4gefau1t/trojan-go/blob/master/tunnel/trojan/client.go
func (*Client) PacketConn ¶
func (c *Client) PacketConn(addr string) (net.PacketConn, error)
type OutboundConn ¶
func (*OutboundConn) WriteHeader ¶
func (c *OutboundConn) WriteHeader() (err error)
Click to show internal directories.
Click to hide internal directories.