Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerSetting ¶
type ServerSetting struct { Enabled bool `json:"enabled" yaml:"enabled"` BindAddr string `json:"bindAddr" yaml:"bindAddr"` Port int `json:"port"` ReadTimeout time.Duration `json:"readTimeout" yaml:"readTimeout"` WriteTimeout time.Duration `json:"wirteTimeout" yaml:"writeTimeout"` AllowCrossDomain bool `json:"allowCrossDomain" yaml:"allowCrossDomain"` }
var Setting *ServerSetting = &ServerSetting{ Enabled: false, }
Click to show internal directories.
Click to hide internal directories.