Documentation ¶
Index ¶
Constants ¶
View Source
const ErrTypeUnknownError api.ErrorType = "UNKNOWN_ERROR"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiHandler ¶ added in v0.8.1
type ApiHandlerFunc ¶ added in v0.8.1
type Body ¶
type Body interface { validate.Validatable }
type NormalHandler ¶ added in v0.8.1
type NormalHandler struct { Method string Path string Middlewares []echo.MiddlewareFunc HandlerFunc NormalHandlerFunc }
type NormalHandlerFunc ¶ added in v0.8.1
type RouteGroup ¶
func NewRouteGroup ¶
func NewRouteGroup(prefix string) *RouteGroup
func (*RouteGroup) Register ¶
func (r *RouteGroup) Register(handlers ...Handler)
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(config *ServerConfig) *Server
func (*Server) Group ¶
func (s *Server) Group(prefix string, m ...echo.MiddlewareFunc) *ServerGroup
type ServerConfig ¶
type ServerGroup ¶
type ServerGroup struct {
// contains filtered or unexported fields
}
func (*ServerGroup) Register ¶
func (g *ServerGroup) Register(handlers ...Handler)
type ServerRouter ¶
type ServerRouter struct {
// contains filtered or unexported fields
}
func (*ServerRouter) Group ¶
func (r *ServerRouter) Group(prefix string) Group
Click to show internal directories.
Click to hide internal directories.