apirouter

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 1 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TransformPathParamsWithColon added in v0.8.0

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