Documentation ¶
Index ¶
- func NewDaemon(opts ...Opt) dex.Daemon
- func NewDaemonWithConfig(config *service.Config, opts ...Opt) dex.Daemon
- type BaseIrisImpl
- func (d *BaseIrisImpl) App() http.Handler
- func (d *BaseIrisImpl) BuildRoutes()
- func (d *BaseIrisImpl) Handler() http.Handler
- func (d *BaseIrisImpl) PostServe() (err error)
- func (d *BaseIrisImpl) PrePreServe()
- func (d *BaseIrisImpl) PreServe() (err error)
- func (d *BaseIrisImpl) Serve(srv *http.Server, listener net.Listener, certFile, keyFile string) (err error)
- func (d *BaseIrisImpl) Shutdown(ctx context.Context) error
- type ForLoggerInitializing
- type GracefulShutdown
- type Opt
- type RouterMux
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BaseIrisImpl ¶ added in v1.7.27
type BaseIrisImpl struct {
// contains filtered or unexported fields
}
func NewRouterBaseIrisImpl ¶ added in v1.7.27
func NewRouterBaseIrisImpl() BaseIrisImpl
func (*BaseIrisImpl) App ¶ added in v1.7.27
func (d *BaseIrisImpl) App() http.Handler
func (*BaseIrisImpl) BuildRoutes ¶ added in v1.7.27
func (d *BaseIrisImpl) BuildRoutes()
func (*BaseIrisImpl) Handler ¶ added in v1.7.27
func (d *BaseIrisImpl) Handler() http.Handler
func (*BaseIrisImpl) PostServe ¶ added in v1.7.27
func (d *BaseIrisImpl) PostServe() (err error)
func (*BaseIrisImpl) PrePreServe ¶ added in v1.7.27
func (d *BaseIrisImpl) PrePreServe()
func (*BaseIrisImpl) PreServe ¶ added in v1.7.27
func (d *BaseIrisImpl) PreServe() (err error)
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
Source Files ¶
Click to show internal directories.
Click to hide internal directories.