server

package
v0.0.0-...-8a4ed64 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrRequiredParameterMissing = errors.New("missing parameter")
)

Functions

func AddHanler

func AddHanler[T any, U any](path string, method string, fn func(ctx context.Context, t *T) (*U, error)) error

Possible tag https://github.com/swaggest/jsonschema-go

func Init

func Init(title string, version string, description string)

func Serve

func Serve(router *mux.Router) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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