Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Listener ¶
type Listener struct {
Addr string
Protocol string // "tcp", "udp", or "both"
EnableFragmentation bool // UDP fragmentation enabled
TCPListener net.Listener
UDPConn net.PacketConn
Pool *pool.ConnectionPool
// contains filtered or unexported fields
}
Listener represents a traffic listener
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager manages traffic listeners
func NewManager ¶
func NewManager(conf *config.Server, pools map[string]*pool.ConnectionPool, logger zerolog.Logger) *Manager
NewManager creates a new traffic manager
type UDPHandler ¶
type UDPHandler struct {
// contains filtered or unexported fields
}
UDPHandler handles UDP traffic using QUIC datagrams
type UDPSession ¶
type UDPSession struct {
// contains filtered or unexported fields
}
UDPSession represents a UDP session using QUIC datagrams
Click to show internal directories.
Click to hide internal directories.