interceptors

package
v0.0.0-...-b1d94cb Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetHealthCheckMethodName

func SetHealthCheckMethodName(methodName string)

SetHealthCheckMethodName changes the default health check method name

func StreamAuditServiceRequest

func StreamAuditServiceRequest() grpc.StreamServerInterceptor

Logging request information for Stream requests

func StreamAuthentication

func StreamAuthentication() grpc.StreamServerInterceptor

func StreamLogRequestCanceled

func StreamLogRequestCanceled() grpc.StreamServerInterceptor

Log the request that has been cancelled by the client during the Stream request The request can be cancelled for many reasons, including timeout exceeded

func UnaryAuditServiceRequest

func UnaryAuditServiceRequest() grpc.UnaryServerInterceptor

Logging request information for Unary requests

func UnaryAuthentication

func UnaryAuthentication() grpc.UnaryServerInterceptor

func UnaryLogRequestCanceled

func UnaryLogRequestCanceled() grpc.UnaryServerInterceptor

Log the request that has been cancelled by the client during the Unary request The request can be cancelled for many reasons, including timeout exceeded

Types

This section is empty.

Jump to

Keyboard shortcuts

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