router

package
v0.0.0-...-bf7994e Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultMiddleware

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

func NewMiddleware

func NewMiddleware(config config.Configuration, logger logger.Logger, response controller.HTTPResponse) (middleware *DefaultMiddleware)

type DefaultRouter

type DefaultRouter struct {
	Router *httprouter.Router
}

func NewRouter

func NewRouter(controller controller.HTTPController, middleware Middleware, config config.Configuration) *DefaultRouter

type Middleware

type Middleware interface {
}

Jump to

Keyboard shortcuts

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