routers

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: BSD-3-Clause Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitHiddenAPIRouter

func InitHiddenAPIRouter()

func InitPrimaryAPIRouter

func InitPrimaryAPIRouter()

func InitProtectedAPIRouter

func InitProtectedAPIRouter()

func InitPublicAPIRouter

func InitPublicAPIRouter()

Types

type Router

type Router struct {
	Echo *echo.Echo
	Name string
}

func HiddenAPIRouter

func HiddenAPIRouter() *Router

func PrimaryAPIRouter

func PrimaryAPIRouter() *Router

func ProtectedAPIRouter

func ProtectedAPIRouter() *Router

func PublicAPIRouter

func PublicAPIRouter() *Router

func (*Router) Init

func (r *Router) Init()

func (*Router) RegisterMiddleware

func (r *Router) RegisterMiddleware(middleware echo.MiddlewareFunc)

func (*Router) RegisterPreMiddleware

func (r *Router) RegisterPreMiddleware(middleware echo.MiddlewareFunc)

func (*Router) Start

func (r *Router) Start(host string, port string)

Jump to

Keyboard shortcuts

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