grpc

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dialer

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

func NewGrpcDialer

func NewGrpcDialer(config *GrpcConfig, engine security.Engine, socketConfig i.Dialer) *Dialer

func (*Dialer) Dial

func (d *Dialer) Dial(ctx context.Context, dest net.Destination) (net.Conn, error)

type GrpcConfig

type GrpcConfig = grpcpb.GrpcConfig

type GrpcConfig_builder added in v1.1.2

type GrpcConfig_builder = grpcpb.GrpcConfig_builder

type Listener

type Listener struct {
	encoding.UnimplementedGRPCServiceServer
	// contains filtered or unexported fields
}

func Listen

func Listen(ctx context.Context, addr net.Destination,
	grpcSettings *GrpcConfig, li i.Listener,
	handler func(net.Conn)) (*Listener, error)

func (Listener) Addr

func (l Listener) Addr() net.Addr

func (Listener) Close

func (l Listener) Close() error

func (Listener) Tun

func (Listener) TunMulti

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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