grpcutil

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: Apache-2.0, MIT Imports: 6 Imported by: 2

Documentation

Overview

Package grpcutil contains gRPC lazy codecs, messages and a buf-based listener.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUnsecureSimpleAuthAccess

func NewUnsecureSimpleAuthAccess(scheme, token string) credentials.PerRPCCredentials

NewUnsecureSimpleAuthAccess constructs the PerRPCCredentials using a given token.

Types

type BufListener

type BufListener struct {
	*bufconn.Listener
}

func NewBufListener

func NewBufListener(sz int) *BufListener

func (*BufListener) NewClientConn

func (bl *BufListener) NewClientConn(ctx context.Context, opts ...grpc.DialOption) (*grpc.ClientConn, error)

Jump to

Keyboard shortcuts

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