Documentation ¶
Index ¶
- Constants
- func UnaryClientLogging() grpc.UnaryClientInterceptor
- func UnaryClientMetadata() grpc.UnaryClientInterceptor
- func UnaryClientPrometheus() grpc.UnaryClientInterceptor
- func UnaryServerLogging() grpc.UnaryServerInterceptor
- func UnaryServerMetadata() grpc.UnaryServerInterceptor
- func UnaryServerPrometheus() grpc.UnaryServerInterceptor
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.
Click to show internal directories.
Click to hide internal directories.