Documentation ¶
Index ¶
Constants ¶
View Source
const ( Get = "GET" Post = "POST" Put = "PUT" Patch = "PATCH" Delete = "DELETE" Head = "HEAD" Options = "OPTIONS" HandlerFunc = "HandlerFunc" )
Variables ¶
This section is empty.
Functions ¶
func EventApiGateway ¶ added in v0.0.170
func EventApiGateway(method, path, packageName, packagePath, host string)
func ProtectRoute ¶
func ProtectRoute(r *chi.Mux, method, path string, h http.HandlerFunc, packageName, packagePath, host string) *chi.Mux
func PublicRoute ¶
func PublicRoute(r *chi.Mux, method, path string, h http.HandlerFunc, packageName, packagePath, host string) *chi.Mux
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.