Documentation ¶
Index ¶
- func EnvoyproxyValidatorStreamServerInterceptor() grpc.StreamServerInterceptor
- func EnvoyproxyValidatorUnaryServerInterceptor() grpc.UnaryServerInterceptor
- func GetIncomingMetaData(ctx context.Context) (metadata.MD, bool)
- func GetMetaDataFirst(md metadata.MD, key string) string
- func GetRealIP(ctx context.Context) string
- func GetUserAgent(ctx context.Context) string
- type Validator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnvoyproxyValidatorStreamServerInterceptor ¶
func EnvoyproxyValidatorStreamServerInterceptor() grpc.StreamServerInterceptor
func EnvoyproxyValidatorUnaryServerInterceptor ¶
func EnvoyproxyValidatorUnaryServerInterceptor() grpc.UnaryServerInterceptor
func GetIncomingMetaData ¶ added in v1.0.15
GetIncomingMetaData get grpc incoming metadata from grpc context
func GetMetaDataFirst ¶ added in v1.0.15
GetMetaDataFirst get metadata first value by key
func GetUserAgent ¶ added in v1.0.15
GetUserAgent get user agent from grpc context
Types ¶
Click to show internal directories.
Click to hide internal directories.