Documentation ¶
Index ¶
- type Component
- type Config
- type Server
- func (s *Server) AdvancedConfig(handler func(app *iris.Application)) *Server
- func (s *Server) GetMonitor() *iris.Application
- func (s *Server) OnErrorCode(code int, onErr func(ctx iris.Context)) *Server
- func (s *Server) RegisterComponent(component Component) *Server
- func (s *Server) RegisterComponents(components ...Component) *Server
- func (s *Server) SetHomePage(indexHtml string) *Server
- func (s *Server) Start(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) AdvancedConfig ¶
func (*Server) GetMonitor ¶ added in v1.6.4
func (s *Server) GetMonitor() *iris.Application
func (*Server) OnErrorCode ¶
func (*Server) RegisterComponent ¶
func (*Server) RegisterComponents ¶
func (*Server) SetHomePage ¶
Click to show internal directories.
Click to hide internal directories.