Documentation
¶
Index ¶
Constants ¶
View Source
const ( OBFS_NEED_MORE = -1 OBFS_ERROR = -2 OBFS_OK = 0 )
View Source
const Name = "OBFS"
Variables ¶
View Source
var ( Debug = true // DefaultUserAgent is the default HTTP User-Agent header used by HTTP and websocket. DefaultUserAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36" )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DialPacket ¶
type ConnectConn ¶
func (*ConnectConn) Metadata ¶
func (c *ConnectConn) Metadata() *tunnel.Metadata
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) AcceptPacket ¶
Click to show internal directories.
Click to hide internal directories.