middleware

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StreamClientInterceptor

func StreamClientInterceptor(address string) grpc.StreamClientInterceptor

set address

func StreamRecovery

func StreamRecovery() grpc.StreamServerInterceptor

func StreamServerInterceptor

func StreamServerInterceptor(removeAPI []string) grpc.StreamServerInterceptor

func UnaryClientInterceptor

func UnaryClientInterceptor(address string) grpc.UnaryClientInterceptor

set address set address, this is because my server is running in wsl, The address sent does not match the desired address

func UnaryServerInterceptor

func UnaryServerInterceptor(removeAPI []string) grpc.UnaryServerInterceptor

func UneryRecovery

func UneryRecovery() 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