Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QuicConfig ¶
type QuicConfig quic.Config
type Server ¶
func NewServer ¶
func NewServer( tlsConfig *tls.Config, quicConfig *QuicConfig, pktConn net.PacketConn, transport *transport.ServerTransport, sendBPS uint64, recvBPS uint64, disableUDP bool, aclEngine *acl.Engine, connectFunc cs.ConnectFunc, disconnectFunc cs.DisconnectFunc, tcpRequestFunc cs.TCPRequestFunc, tcpErrorFunc cs.TCPErrorFunc, udpRequestFunc cs.UDPRequestFunc, udpErrorFunc cs.UDPErrorFunc, trafficCounter cs.TrafficCounter) (Server, error)
Click to show internal directories.
Click to hide internal directories.