Documentation ¶
Index ¶
- Variables
- func StreamClientInterceptor(key interface{}, values map[string]interface{}) grpc.StreamClientInterceptor
- func StreamServerInterceptor(key interface{}, values map[string]interface{}) grpc.StreamServerInterceptor
- func UnaryClientInterceptor(key interface{}, values map[string]interface{}) grpc.UnaryClientInterceptor
- func UnaryServerInterceptor(key interface{}, values map[string]interface{}) grpc.UnaryServerInterceptor
- type Kind
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // SystemField is used in every statement made through value. Can be overwritten before any initialization code. SystemField = "system" // KindField indicates whether this is a server or a client interceptor. KindField = "grpc.kind" // ServiceField indicates rpc's service name ServiceField = "grpc.service" // MethodField indicates rpc's service method MethodField = "grpc.method" )
Functions ¶
func StreamClientInterceptor ¶
func StreamClientInterceptor(key interface{}, values map[string]interface{}) grpc.StreamClientInterceptor
StreamClientInterceptor returns a new streaming client interceptor with tags in context.
func StreamServerInterceptor ¶
func StreamServerInterceptor(key interface{}, values map[string]interface{}) grpc.StreamServerInterceptor
StreamServerInterceptor returns a new streaming server interceptor with tags in context.
func UnaryClientInterceptor ¶
func UnaryClientInterceptor(key interface{}, values map[string]interface{}) grpc.UnaryClientInterceptor
UnaryClientInterceptor returns a new unary client interceptor with tags in context.
func UnaryServerInterceptor ¶
func UnaryServerInterceptor(key interface{}, values map[string]interface{}) grpc.UnaryServerInterceptor
UnaryServerInterceptor returns a new unary server interceptors with tags in context.
Types ¶
Click to show internal directories.
Click to hide internal directories.