Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LHIMakeDecisionToPort ¶ added in v1.8.7
LHIMakeDecisionToPort try getting the port number from configurations and environments
Types ¶
type ForLoggerInitializing ¶ added in v1.7.27
type ForLoggerInitializing interface {
PrePreServe()
}
ForLoggerInitializing can be used for your logger initializing inside a router, such as iris.Use(logger.New()).
type GracefulShutdown ¶ added in v1.7.30
GracefulShutdown expose a Shutdown method to parent
type Opt ¶ added in v1.7.27
type Opt func(d *daemonImpl)
func WithBackendType ¶ added in v1.7.27
func WithBackendType(typ muxType) Opt
func WithRouterImpl ¶ added in v1.7.27
type RouterMux ¶ added in v1.7.27
type RouterMux interface { BuildRoutes() Handler() http.Handler App() http.Handler PreServe() (err error) Serve(srv *http.Server, listener net.Listener, certFile, keyFile string) (err error) PostServe() (err error) }
RouterMux wrap a generic mux object
type SpecialRun ¶ added in v1.8.1
type SpecialRun interface {
Run(config *tls.CmdrTLSConfig, srv *http.Server, hotReloadListener net.Listener) (err error)
}
SpecialRun provides the ability how a RouterMux object listen-and-serv to ...
Source Files ¶
Click to show internal directories.
Click to hide internal directories.