grpcutil

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: Apache-2.0 Imports: 19 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(creds credentials.TransportCredentials, dialAddress string) (*grpc.ClientConn, error)

func ErrIs

func ErrIs(err, target error) bool

ErrIs - like `errors.Is` but for grpc errors

func IsEndOfStream

func IsEndOfStream(err error) bool

func IsRetryLater

func IsRetryLater(err error) bool

func NewServer

func NewServer(rateLimit uint32, creds credentials.TransportCredentials) *grpc.Server

func TLS

func TLS(tlsCACert, tlsCertFile, tlsKeyFile string) (credentials.TransportCredentials, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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