middlewares

package
v0.0.0-...-b507f95 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEncryptMiddleware

func NewEncryptMiddleware(publicKey *rsa.PublicKey) func(c *resty.Client, r *resty.Request) error

func NewGzipCompressBodyMiddleware

func NewGzipCompressBodyMiddleware() func(c *resty.Client, r *resty.Request) error

func NewHashSumHeaderMiddleware

func NewHashSumHeaderMiddleware(hashKey string) func(c *resty.Client, r *resty.Request) error

func NewRealIPHeaderMiddleware

func NewRealIPHeaderMiddleware(realIP string) func(c *resty.Client, r *resty.Request) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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