admin

package
v0.6.0-rc.5 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Router

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

Router represents `admin` router.

func NewRouter

func NewRouter(controller *controller.Controller) *Router

NewRouter creates new instance of `admin` router.

func (*Router) AddGlobalMiddleware added in v0.6.0

func (r *Router) AddGlobalMiddleware(middleware fiber.Handler) *Router

AddGlobalMiddleware adds a global middleware which will be applied for each route.

func (*Router) Init

func (r *Router) Init(router fiber.Router) error

Init makes initialization of all `admin` routes.

Directories

Path Synopsis
service

Jump to

Keyboard shortcuts

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