Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func API ¶
func API(handler http.HandlerFunc) http.HandlerFunc
API wrapper for all "API" middlewares (REST-ful API endpoints). Only this function must be used in routes and here must be registered all middlewares.
func Web ¶
func Web(handler http.HandlerFunc) http.HandlerFunc
Web wrapper for all "web" middlewares (regular web pages with server-side rendering). Only this function must be used in routes and here must be registered all middlewares.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.