metadatahandler

package
v1.87.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const AuthVersionKey = "grpc.meta.auth_version"

AuthVersionKey is the key used in ctx_tags to store the auth version

View Source
const CallSiteKey = "grpc.meta.call_site"

CallSiteKey is the key used in ctx_tags to store the client feature

View Source
const ClientNameKey = "grpc.meta.client_name"

ClientNameKey is the key used in ctx_tags to store the client name

View Source
const DeadlineTypeKey = "grpc.meta.deadline_type"

DeadlineTypeKey is the key used in ctx_tags to store the deadline type

Variables

This section is empty.

Functions

func StreamInterceptor

func StreamInterceptor(srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error

StreamInterceptor returns a Stream Interceptor

func UnaryInterceptor

func UnaryInterceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)

UnaryInterceptor returns a Unary Interceptor

Types

This section is empty.

Jump to

Keyboard shortcuts

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