forward

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewForwardWithConfig

func NewForwardWithConfig(conf *Config) stream.Handler

NewForwardWithConfig create a new forward with config.

Types

type Config

type Config struct {
	Dialer stream.Dialer
}

type Forward

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

func NewForward

func NewForward(dialer stream.Dialer) *Forward

func (*Forward) ServeStream

func (f *Forward) ServeStream(ctx context.Context, stm stream.Stream)

Jump to

Keyboard shortcuts

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