Versions in this module Expand all Collapse all v1 v1.0.1 Sep 8, 2019 v1.0.0 Sep 5, 2019 Changes in this version + type App struct + MaxFileSize uint64 + MaxMultipartMembuf uint64 + MaxReqSize uint64 + type Config struct + App App + DebugLog *log.Logger + ErrorLog *log.Logger + Mode Mode + TransportHTTP *TransportHTTP + func FromFile(path string) (*Config, error) + func (conf *Config) Init() error + type Duration time.Duration + func (v *Duration) UnmarshalTOML(val interface{}) error + type File struct + App struct{ ... } + Log struct{ ... } + Mode Mode + TransportHTTP struct{ ... } + type Mode string + const ModeBeta + const ModeDebug + const ModeProduction + func (md Mode) Validate() error + type TLSCipherSuite uint16 + func (v *TLSCipherSuite) UnmarshalTOML(val interface{}) error + type TLSCurveID tls.CurveID + func (v *TLSCurveID) UnmarshalTOML(val interface{}) error + type TLSVersion uint16 + func (v *TLSVersion) UnmarshalTOML(val interface{}) error + type TransportHTTP struct + Host string + KeepAliveDuration time.Duration + TLS *TransportHTTPTLS + func (conf *TransportHTTP) Init() error + type TransportHTTPTLS struct + CertificateFilePath string + Config *tls.Config + PrivateKeyFilePath string + func (stls *TransportHTTPTLS) Clone() *TransportHTTPTLS