handlers

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler[RequestBody any, ResponseBody any] interface {
}

func New

func New[RequestBody any, ResponseBody any](
	HandlerSpec HandlerSpec,
) Handler[RequestBody, ResponseBody]

type HandlerSpec

type HandlerSpec struct {
	Name        string
	Route       string
	Method      string
	Description string
}

Jump to

Keyboard shortcuts

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