web

package
v0.0.0-...-2936c6c Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2026 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 Korn

type Korn struct {
	Mux *http.ServeMux
}

func NewKorn

func NewKorn() *Korn

func (*Korn) DELETE

func (k *Korn) DELETE(path string, handler http.HandlerFunc, middlewares ...Middleware)

func (*Korn) GET

func (k *Korn) GET(path string, handler http.HandlerFunc, middlewares ...Middleware)

func (*Korn) On

func (k *Korn) On(path, method string, handler http.HandlerFunc, middlewares ...Middleware)

func (*Korn) POST

func (k *Korn) POST(path string, handler http.HandlerFunc, middlewares ...Middleware)

func (*Korn) PUT

func (k *Korn) PUT(path string, handler http.HandlerFunc, middlewares ...Middleware)

func (*Korn) Wrap

func (k *Korn) Wrap(middleware ...Middleware) http.Handler

type Middleware

type Middleware = func(handler http.Handler) http.Handler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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