serverinterceptors

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: MIT Imports: 15 Imported by: 1

Documentation

Overview

* * @Author: myxy99 <myxy99@foxmail.com> * @Date: 2021/1/2 12:50

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CrashStreamServerInterceptor

func CrashStreamServerInterceptor() grpc.StreamServerInterceptor

func CrashUnaryServerInterceptor

func CrashUnaryServerInterceptor() grpc.UnaryServerInterceptor

func PrometheusStreamServerInterceptor

func PrometheusStreamServerInterceptor() grpc.StreamServerInterceptor

func PrometheusUnaryServerInterceptor

func PrometheusUnaryServerInterceptor() grpc.UnaryServerInterceptor

func TraceStreamServerInterceptor added in v1.0.9

func TraceStreamServerInterceptor(srv interface{}, ss grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error

func TraceUnaryServerInterceptor

func TraceUnaryServerInterceptor() grpc.UnaryServerInterceptor

func XTimeoutUnaryServerInterceptor

func XTimeoutUnaryServerInterceptor(timeout time.Duration) grpc.UnaryServerInterceptor

Types

This section is empty.

Jump to

Keyboard shortcuts

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