interceptors

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SourceIPInterceptor

func SourceIPInterceptor() grpc.UnaryServerInterceptor

SourceIPInterceptor adds the source IP address to incoming requests.

Types

type ExternalIP

type ExternalIP struct{}

ExternalIP is a context tag for the external IP address of the request.

Jump to

Keyboard shortcuts

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