aim2

package
v0.6.0 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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorHandler

func ErrorHandler(c *fiber.Ctx, err error) error

Types

type Router

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

Router represents `mlflow` router.

func NewRouter

func NewRouter(controller *controller.Controller) *Router

NewRouter creates new instance of `mlflow` router.

func (*Router) AddGlobalMiddleware

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(server fiber.Router)

Init initialise routes.

Directories

Path Synopsis
api
dao
services
app
run
tag

Jump to

Keyboard shortcuts

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