Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GorgFactory ¶
Types ¶
type GorgMiddleware ¶
type GorgMiddleware string
const ( Auth GorgMiddleware = "auth" Logger GorgMiddleware = "logger" Recover GorgMiddleware = "recover" )
type Group ¶
type Group struct { Prefix string Version string AuthRequired bool Name string Routes []Route Middlewares []echo.MiddlewareFunc }
func RegisterGroup ¶
type HttpMethod ¶
type HttpMethod string
const ( GET HttpMethod = "GET" PUT HttpMethod = "PUT" HEAD HttpMethod = "HEAD" POST HttpMethod = "POST" PATCH HttpMethod = "PATCH" TRACE HttpMethod = "TRACE" DELETE HttpMethod = "DELETE" OPTIONS HttpMethod = "OPTIONS" CONNECT HttpMethod = "CONNECT" )
func MethodResolve ¶
func MethodResolve(r Route) []HttpMethod
Click to show internal directories.
Click to hide internal directories.