grpcservertest

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBufconnListener

func NewBufconnListener(size int) *bufconn.Listener

Types

type DefaultTestBufconnConnectionFactory added in v1.2.0

type DefaultTestBufconnConnectionFactory struct {
	// contains filtered or unexported fields
}

func NewDefaultTestBufconnConnectionFactory added in v1.2.0

func NewDefaultTestBufconnConnectionFactory(lis *bufconn.Listener) *DefaultTestBufconnConnectionFactory

func (*DefaultTestBufconnConnectionFactory) Create added in v1.2.0

type TestBufconnConnectionFactory added in v1.2.0

type TestBufconnConnectionFactory interface {
	Create(opts ...grpc.DialOption) (*grpc.ClientConn, error)
}

Jump to

Keyboard shortcuts

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