apirouter

package
v0.0.0-...-e528945 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TransformPathParamsWithColon

func TransformPathParamsWithColon(path string) string

Types

type Router

type Router[HandlerFunc any, Route any] interface {
	AddRoute(method string, path string, handler HandlerFunc) Route
	SwaggerHandler(contentType string, blob []byte) HandlerFunc
	TransformPathToOasPath(path string) string
}

Jump to

Keyboard shortcuts

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