Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultOptions = &Options{}
DefaultOptions default quic options
Functions ¶
func WithOptions ¶
WithOptions to wrap the quic options
Types ¶
type Options ¶
type Options struct { CertFile string `json:"certFile"` KeyFile string `json:"keyFile"` ReadBufferSize int `json:"readBufferSize"` WriteBufferSize int `json:"writeBufferSize"` Config *quic.Config `json:"-"` TLS *tls.Config `json:"-"` }
Options to define the quic
func FromContext ¶
FromContext to unwrap the quic options
Click to show internal directories.
Click to hide internal directories.