middleware

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package middleware root package of middlewares

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExcludePaths

func ExcludePaths(excludes []string) map[string]struct{}

func IsRequestFromGRpcGateway

func IsRequestFromGRpcGateway(md metautils.NiceMD) bool

IsRequestFromGRpcGateway check gRpc request is from gRpc-Gateway

func MarkRequestFromGRpcGateway

func MarkRequestFromGRpcGateway(req *http.Request)

MarkRequestFromGRpcGateway mark http request is from gRpc-Gateway

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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