sample2

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bootstrap

func Bootstrap(ctx context.Context, e *echo.Echo, middlewareList MiddlewareList)

Types

type MiddlewareList

type MiddlewareList []*MiddlewareSet

func (MiddlewareList) ToMap

func (m MiddlewareList) ToMap() MiddlewareMap

type MiddlewareMap

type MiddlewareMap map[string][]echo.MiddlewareFunc

type MiddlewareSet

type MiddlewareSet struct {
	Path           string
	MiddlewareFunc []echo.MiddlewareFunc
}

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

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