proxy

package
v0.0.0-...-858628d Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Proxy

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

Proxy takes packets from the hub and deliver to some remote host.

func New

func New(cc *grpc.ClientConn) *Proxy

New creates a Proxy.

func (*Proxy) Serve

func (p *Proxy) Serve() error

Serve dials to target hosts and forward the packets hub sends.

Jump to

Keyboard shortcuts

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