router

package
v0.0.83 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Get         = "GET"
	Post        = "POST"
	Put         = "PUT"
	Patch       = "PATCH"
	Delete      = "DELETE"
	Head        = "HEAD"
	Options     = "OPTIONS"
	HandlerFunc = "HandlerFunc"
)

Variables

This section is empty.

Functions

func ProtectRoute

func ProtectRoute(r *chi.Mux, method, path string, h http.HandlerFunc, packageName, packagepath, host string) *chi.Mux

func PublicRoute

func PublicRoute(r *chi.Mux, method, path string, h http.HandlerFunc, packageName, packagepath, host string) *chi.Mux

Types

This section is empty.

Jump to

Keyboard shortcuts

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