restful

package
v0.0.0-...-9714d35 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Attach

func Attach(router *httprouter.Router, endpoint string, crud Cruder, f Wrapper)

Attach a Cruder implementation to a set of endpoints

Types

type Wrapper

type Wrapper func(httprouter.Handle) httprouter.Handle

func AuthAnd

func AuthAnd(ff ...func(r *http.Request) bool) Wrapper

authentication selector

func AuthOr

func AuthOr(ff ...func(r *http.Request) bool) Wrapper

authentication selector

Jump to

Keyboard shortcuts

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