Help us shape the future of Go! Take the 2026 Go Developer Survey

aspectgrpc

package
v1.202544.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 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