middleware

package
v0.0.0-...-3f3ae68 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CorResponse

func CorResponse(w http.ResponseWriter)

CorResponse 跨域中间件

Types

type AESMiddleware

type AESMiddleware struct {
	// contains filtered or unexported fields
}

func NewUserAgentMiddleware

func NewUserAgentMiddleware(key, iv string) *AESMiddleware

func (*AESMiddleware) Handle

func (m *AESMiddleware) Handle(next http.HandlerFunc) http.HandlerFunc

Handle 弃用

Jump to

Keyboard shortcuts

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