Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIRouter ¶
type APIRouter interface { // Prefix is the prefix of the API method, e.g. self or template. Prefix() string /// Routes provides the different routes for this APIRouter Routes(prefix string, r chi.Router) // Version returns the API version for the routes. Version() int8 }
APIRouter provides a Chi Mux that contains a set of API routes.
type Builder ¶
Builder is used to create a new Chi Mux with all the routes and configurations set.
func NewRouterBuilder ¶
NewRouterBuilder creates a new instance of the Builder interface.
Click to show internal directories.
Click to hide internal directories.