Versions in this module Expand all Collapse all v0 v0.1.1 Jul 3, 2021 v0.1.0 Jul 2, 2021 Changes in this version + func SetDefaultHTTPFlagsPrefix(prefix string) + func SetDefaultHTTPIdleTimeout(val time.Duration) + func SetDefaultHTTPMaxHeaderBytes(val int) + func SetDefaultHTTPName(name string) + func SetDefaultHTTPPort(val string) + func SetDefaultHTTPReadHeaderTimeout(val time.Duration) + func SetDefaultHTTPReadTimeout(val time.Duration) + func SetDefaultHTTPRunnable(b bool) + func SetDefaultHTTPSFlagsPrefix(prefix string) + func SetDefaultHTTPSIdleTimeout(val time.Duration) + func SetDefaultHTTPSMaxHeaderBytes(val int) + func SetDefaultHTTPSName(name string) + func SetDefaultHTTPSPort(val string) + func SetDefaultHTTPSReadHeaderTimeout(val time.Duration) + func SetDefaultHTTPSReadTimeout(val time.Duration) + func SetDefaultHTTPSRunnable(b bool) + func SetDefaultHTTPSWriterTimeout(val time.Duration) + func SetDefaultHTTPWriterTimeout(val time.Duration) + type HTTP struct + CustomBindFlagsFunc func(fs *bootflag.FlagSet) + CustomParseFunc func() (err error) + IdleTimeout time.Duration + MaxHeaderBytes int + Name string + Port string + ReadHeaderTimeout time.Duration + ReadTimeout time.Duration + Runnable bool + WriteTimeout time.Duration + func (http *HTTP) BindFlags(fs *bootflag.FlagSet) + func (http *HTTP) GetIntPort() (port int) + func (http *HTTP) Parse() (err error) + type HTTPS struct + Cert string + CustomBindFlagsFunc func(fs *bootflag.FlagSet) + CustomParseFunc func() (err error) + IdleTimeout time.Duration + Key string + MaxHeaderBytes int + Name string + Port string + ReadHeaderTimeout time.Duration + ReadTimeout time.Duration + Runnable bool + WriteTimeout time.Duration + func (https *HTTPS) BindFlags(fs *bootflag.FlagSet) + func (https *HTTPS) GetIntPort() (port int) + func (https *HTTPS) Parse() (err error)