grpc

package
v1.10.9 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableEverythingStreamServerInterceptor

func DisableEverythingStreamServerInterceptor() grpc.StreamServerInterceptor

DisableEverythingStreamServerInterceptor makes all streaming RPCs return UNAVAILABLE. This is the nuclear option to stop all client requests and should be used sparingly.

func DisableEverythingUnaryServerInterceptor

func DisableEverythingUnaryServerInterceptor() grpc.UnaryServerInterceptor

DisableEverythingUnaryServerInterceptor makes all unary RPCs return UNAVAILABLE. This is the nuclear option to stop all client requests and should be used sparingly.

func IsHealthCheckEndpoint

func IsHealthCheckEndpoint(methodName string) bool

IsHealthCheckEndpoint returns whether a method is the health check endpoint

func ParseFullMethodName

func ParseFullMethodName(fullMethodName string) (packageName, serviceName, methodName string, err error)

ParseFullMethodName parses a gRPC full method name into its components

Types

This section is empty.

Directories

Path Synopsis
protobuf

Jump to

Keyboard shortcuts

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