grpcutil

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 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
	// contains filtered or unexported fields
}

func NewBufListener

func NewBufListener(ctx context.Context, sz int) *BufListener

func (*BufListener) NewClientConn

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

Jump to

Keyboard shortcuts

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