Documentation ¶
Overview ¶
Package router provides the functionality routing the HTTP request.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Route ¶
type Route struct { // Method defines the HTTP method. Method string // Path defines the HTTP path. Path string // Handler defines the handler for the route. Handler echo.HandlerFunc // Middlewares defines the list of middleware used for the route. Middlewares []echo.MiddlewareFunc }
Route defines an HTTP route.
func MedicalRecordCreator ¶
func MedicalRecordCreator(h *handler.MedicalRecordCreator) []*Route
MedicalRecordCreator creates routes for medical record creator.
func MedicalRecordFinder ¶
func MedicalRecordFinder(h *handler.MedicalRecordFinder) []*Route
MedicalRecordFinder creates routes for medical record finder.
func MedicalRecordUpdater ¶
func MedicalRecordUpdater(h *handler.MedicalRecordUpdater) []*Route
MedicalRecordUpdater creates routes for medical record updater.
Click to show internal directories.
Click to hide internal directories.