aspectgrpc

package
v1.500.2 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientConn

type ClientConn interface {
	Close() error
}

ClientConn is an interface for the upstream grpc.ClientConn struct.

type Dialer

type Dialer interface {
	DialContext(ctx context.Context, target string, opts ...grpc.DialOption) (conn ClientConn, err error)
}

Dialer is an interface for the upstream grpc.DialContext function.

func NewDialer

func NewDialer() Dialer

NewDialer creates a new Dialer with the dialer wrapper.

type Server

type Server interface {
	Serve(lis net.Listener) error
	GracefulStop()
}

Server is an interface for the upstream grpc.Server struct.

Directories

Path Synopsis
Package mock contains generated files.
Package mock contains generated files.

Jump to

Keyboard shortcuts

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