router

package
v0.0.0-...-a94409f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2021 License: MIT Imports: 4 Imported by: 0

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.

func Signer

func Signer(h *handler.Signer) []*Route

Signer creates routes for sign in.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL