outbound

package
v0.0.0-...-3e3e819 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package outbound contains all protocols for remote connection used by ZBProxy.

To implement an outbound protocol, one needs to do the following: 1. Implement the interface(s) below.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Outbound

type Outbound interface {
	Dial(network, address string) (net.Conn, error)
	DialTCP(network string, laddr, raddr *net.TCPAddr) (*net.TCPConn, error)
	Handshake(r io.Reader, w io.Writer, network, address string) error
}
var SystemOutbound Outbound = &systemOutbound{}

Directories

Path Synopsis
Package socks implemented SOCKS protocol version 4, 4a and 5 (RFC1928).
Package socks implemented SOCKS protocol version 4, 4a and 5 (RFC1928).

Jump to

Keyboard shortcuts

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