handlers

package
v0.0.0-...-17f76c2 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package handlers holds implementation of many commonly used request handlers using datatypes from standard library

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HealthCheck

func HealthCheck(w http.ResponseWriter, r *http.Request)

HealthCheck -

func Preflight

func Preflight(w http.ResponseWriter, r *http.Request)

Preflight - prefilight is a handler used to reply to OPTIONS request gorila mux example router.Methods("OPTIONS").HandlerFunc(middlewares.Cors(Preflight))

Types

This section is empty.

Jump to

Keyboard shortcuts

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