Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultPathPrefix string = "*"
)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { HttpPort int16 `mapstructure:"httpPort"` HttpHost string `mapstructure:"httpHost"` HttpCors []string `mapstructure:"httpCors"` HttpCompress bool `mapstructure:"httpCompress"` HttpTimeout time.Duration `mapstructure:"httpTimeout"` HttpPathPrefix string `mapstructure:"httpPathPrefix"` WsPort int16 `mapstructure:"wsPort"` WsHost string `mapstructure:"wsHost"` WsPathPrefix string `mapstructure:"wsPathPrefix"` WsHandshakeTimeout time.Duration `mapstructure:"wsHandshakeTimeout"` MaxBatchRequests uint `mapstructure:"maxBatchRequests"` }
Click to show internal directories.
Click to hide internal directories.