router

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: MIT Imports: 2 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 {
	GetMapping *handler.WrapperMapping

	PostMapping *handler.WrapperMapping

	PutMapping *handler.WrapperMapping

	DeleteMapping *handler.WrapperMapping
}

func (*Router) GetHandlerWrapper

func (router *Router) GetHandlerWrapper(method string, path string) *handler.Wrapper

func (*Router) RegisterHandlerWrapper

func (router *Router) RegisterHandlerWrapper(wrapper *handler.Wrapper)

Jump to

Keyboard shortcuts

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