cors

package
v0.0.0-...-afcd4c4 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CorsMiddleware

type CorsMiddleware struct {
	middleware.Middleware
	// contains filtered or unexported fields
}

this is a simple middleware sample

func (*CorsMiddleware) Init

func (*CorsMiddleware) ServeHTTP

func (m *CorsMiddleware) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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