router

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Permit

func Permit(form permit.Permit) echo.HandlerFunc

Types

type Cache

type Cache struct {
	// contains filtered or unexported fields
}

func NewCache

func NewCache(config *config.Config) (*Cache, error)

func (*Cache) Permit

func (p *Cache) Permit(c echo.Context) error

func (*Cache) UserRole

func (p *Cache) UserRole(c echo.Context) error

type Router

type Router struct {
	// contains filtered or unexported fields
}

Router routing.

func NewRouter

func NewRouter(c *config2.Config) (*Router, error)

func (*Router) Run

func (r *Router) Run() error

Jump to

Keyboard shortcuts

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