Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeWebsocket = "websocket" TypeQuic = "quic" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.6.0
type Config struct { Type string `toml:"type"` // support websocket and quic Host string `toml:"host"` Path string `toml:"path"` DebugCA string `toml:"debug_ca"` ListenAddr string `toml:"listen_addr"` Timeout Duration `toml:"timeout"` Secret string `toml:"secret"` Period uint `toml:"period"` Pprof string `toml:"pprof"` }
Click to show internal directories.
Click to hide internal directories.