Documentation
¶
Index ¶
Constants ¶
View Source
const ObfsTypeSalamander = "salamander"
Variables ¶
This section is empty.
Functions ¶
func NewSalamanderConn ¶
func NewSalamanderConn(conn net.PacketConn, password []byte) net.PacketConn
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(options ClientOptions) (*Client, error)
func (*Client) CloseWithError ¶
func (*Client) ListenPacket ¶
type ClientOptions ¶
type Salamander ¶
type Salamander struct { net.PacketConn // contains filtered or unexported fields }
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(options ServerOptions) (*Server, error)
type ServerHandler ¶
type ServerHandler interface { N.TCPConnectionHandler N.UDPConnectionHandler }
type ServerOptions ¶
type VectorisedSalamander ¶
type VectorisedSalamander struct { Salamander // contains filtered or unexported fields }
func (*VectorisedSalamander) WriteVectorisedPacket ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.