
The highest tagged major version is
v3.
package
Version:
v2.0.5
Opens a new window with list of versions in this module.
Published: Nov 19, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Host string `json:"host" yaml:"host"`
Port int `json:"port" yaml:"port"`
EnableCORS bool `json:"enable_cors" yaml:"enable_cors"`
ApiRequestTimeout int `json:"api_request_timeout" yaml:"api_request_timeout"`
}
Config is a parameters for `http.Server`.
TCPAddr returns tcp address for server.
Validate - Validate config required fields
Source Files
¶
Click to show internal directories.
Click to hide internal directories.