Versions in this module Expand all Collapse all v1 v1.0.1 Jun 9, 2020 Changes in this version type Server + func NewSimpleServer(config ServerConfig) (handler *Server) + type SimpleServer struct + func (s *SimpleServer) GetDelegate() *iris.Application + func (s *SimpleServer) Start(ctx context.Context) error v1.0.0 Mar 13, 2020 Changes in this version + const DefaultSchema + const SchemaHttp + const SchemaHttps + type Component func(app *iris.Application) + type Pager struct + Count int + Data []interface{} + type PagerResponse struct + type Response struct + Code *int + Message string + Success *bool + func (r *Response) SetCode(code int) *Response + func (r *Response) SetSuccess(success bool) *Response + type Server struct + func New(config ServerConfig) (handler *Server) + func (s *Server) AddHttpHandler(schema string, pathGroup string, handler http.Handler) *Server + func (s *Server) AdvancedConfig(handler func(app *iris.Application)) *Server + 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 + type ServerConfig struct + Listen string