middleware

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAuth added in v0.0.3

AddAuth returns grpc.Server config option that turn on logging.

func AddLogging

func AddLogging(
	logger *zap.Logger,
) ([]grpc.UnaryServerInterceptor, []grpc.StreamServerInterceptor)

AddLogging returns grpc.Server config option that turn on logging.

func AddPayloadLogging

func AddPayloadLogging(
	logger *zap.Logger,
) ([]grpc.UnaryServerInterceptor, []grpc.StreamServerInterceptor)

func AddRecovery

AddRecovery recovers from gRPC panics from handlers

Types

This section is empty.

Directories

Path Synopsis
`grpcauth` is an authentication and authorization gRPC server side authentication wrappers.
`grpcauth` is an authentication and authorization gRPC server side authentication wrappers.

Jump to

Keyboard shortcuts

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