rkzerosec

package
v1.2.18 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package rkzerosec is a middleware of go-zero framework for adding secure headers in RPC response

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Middleware

func Middleware(opts ...rkmidsec.Option) rest.Middleware

Middleware Add security interceptors.

Mainly copied from bellow. https://github.com/labstack/echo/blob/master/middleware/secure.go

Types

This section is empty.

Jump to

Keyboard shortcuts

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