Documentation ¶ Index ¶ Constants type Config type Quic func New() Quic Constants ¶ View Source const CName = "net.transport.quic" Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { ListenAddrs []string `yaml:"listenAddrs"` WriteTimeoutSec int `yaml:"writeTimeoutSec"` DialTimeoutSec int `yaml:"dialTimeoutSec"` MaxStreams int64 `yaml:"maxStreams"` KeepAlivePeriodSec int `yaml:"keepAlivePeriodSec"` } type Quic ¶ type Quic interface { ListenAddrs(ctx context.Context, addrs ...string) (listenAddrs []net.Addr, err error) transport.Transport app.ComponentRunnable } func New ¶ func New() Quic Source Files ¶ View all Source files config.go conn.go quic.go Click to show internal directories. Click to hide internal directories.