interceptor

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const AccountIdMetadataKey = "accountId"
View Source
const EmailMetadataKey = "email"
View Source
const FirstNameMetadataKey = "firstName"
View Source
const InternalMetadataKey = "internal"
View Source
const LastNameMetadataKey = "lastName"
View Source
const RequestIdMetadataKey = "requestId"
View Source
const RolesMetadataKey = "roles"
View Source
const SubTypeMetadataKey = "subType"
View Source
const TypeMetadataKey = "type"
View Source
const UserIdMetadataKey = "userId"

Variables

This section is empty.

Functions

func UnaryClientLogging

func UnaryClientLogging() grpc.UnaryClientInterceptor

func UnaryClientMetadata

func UnaryClientMetadata() grpc.UnaryClientInterceptor

func UnaryClientPrometheus

func UnaryClientPrometheus() grpc.UnaryClientInterceptor

func UnaryServerLogging

func UnaryServerLogging() grpc.UnaryServerInterceptor

func UnaryServerMetadata

func UnaryServerMetadata() grpc.UnaryServerInterceptor

func UnaryServerPrometheus

func UnaryServerPrometheus() grpc.UnaryServerInterceptor

UnaryServerPrometheus adds basic RED metrics on all endpoints. The transport layer (gRPC) should also have metrics attached and will then take care of monitoring grpc endpoints including their status.

Types

This section is empty.

Jump to

Keyboard shortcuts

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