Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithRoutes ¶
func WithRoutes(routes RouteTable) *mux.Router
Types ¶
type Route ¶
type Route struct { Name string Method string Pattern string Handler http.HandlerFunc }
type RouteTable ¶
type RouteTable []Routes
Click to show internal directories.
Click to hide internal directories.