Documentation ¶ Index ¶ func NewForwardWithConfig(conf *Config) stream.Handler type Config type Forward func NewForward(dialer stream.Dialer) *Forward func (f *Forward) ServeStream(ctx context.Context, stm stream.Stream) 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) Source Files ¶ View all Source files forward.go init.go Click to show internal directories. Click to hide internal directories.