Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config is a quic specyfic configuration
func NewConfig ¶
func NewConfig(pathToTLSCert string, pathToTLSKey string, handshakeTimeout time.Duration, serverName string) Config
NewConfig creates quic configuration
func NewInsecureTestConfig ¶
func NewInsecureTestConfig() Config
NewInsecureTestConfig creates config for testing prupose, node with this quic configuration won't verify server's certificate chain and host name
type Network ¶
Network is a handel.Network implementation using QUIC as its transport layer
func NewNetwork ¶
NewNetwork creates Nework baked by QUIC protocol
func (*Network) RegisterListener ¶
RegisterListener registers listener for processing incoming packets
Click to show internal directories.
Click to hide internal directories.