middleware

package
v0.0.44 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultTelemetry func(next http.Handler) http.Handler

Functions

func Authorization

func Authorization(next http.Handler) http.Handler

func GetAuthorization

func GetAuthorization(w http.ResponseWriter, r *http.Request) (string, error)

func Telemetry

func Telemetry(next http.Handler) http.Handler

Types

type Request added in v0.0.44

type Request struct {
	Tag     string
	Day     int
	Hour    int
	Minute  int
	Seccond int
	Limit   int
}

func CallRequests added in v0.0.44

func CallRequests(tag string) Request

Jump to

Keyboard shortcuts

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