Documentation ¶
Index ¶
- Constants
- type Config
- type Conn
- func (c *Conn) Epoch() time.Time
- func (c *Conn) Metadata() *tunnel.Metadata
- func (c *Conn) Name() string
- func (c *Conn) Read(p []byte) (int, error)
- func (c *Conn) Recv() uint64
- func (c *Conn) Sent() uint64
- func (c *Conn) Tunnels() *tunnel.Tunnels
- func (c *Conn) User() statistic.User
- func (c *Conn) Write(p []byte) (int, error)
- type PacketConn
- type Server
- type Tunnel
Constants ¶
View Source
const Name = "ADAPTER"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PacketConn ¶
type PacketConn struct { freedom.PacketConn // contains filtered or unexported fields }
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
}
func (*Server) AcceptPacket ¶
Click to show internal directories.
Click to hide internal directories.