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.
Click to show internal directories.
Click to hide internal directories.