Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Route ¶
type Route struct { // Name of the route, used for creating URL from name. Name string // Path of the route. Path string // Can only authorized user view the route. AuthorizedOnly bool // Will the route use a custom Content-Type header. Default is application/json. CustomContentType bool // Handlers for different http methods. GET, POST, PUT, DELETE http.Handler }
Click to show internal directories.
Click to hide internal directories.