Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler(c *chi.Mux, r entities.RouteUseCase)
NewHandler will instantiate the handlers.
Types ¶
type RouteHandler ¶
type RouteHandler struct {
// contains filtered or unexported fields
}
RouteHandler is struct that implements Route Entity.
func (*RouteHandler) Create ¶
func (h *RouteHandler) Create(w http.ResponseWriter, r *http.Request)
Create creates new routes.
func (*RouteHandler) Find ¶
func (h *RouteHandler) Find(w http.ResponseWriter, r *http.Request)
Find finds the best route.
Click to show internal directories.
Click to hide internal directories.