Documentation ¶
Index ¶
- Constants
- func CreateClientStack(ctx context.Context, clientStack []string) (tunnel.Client, error)
- func CreateServerStack(ctx context.Context, serverStack []string) (tunnel.Server, error)
- func FindAllEndpoints(root *Node) []tunnel.Server
- func RegisterProxyCreator(name string, creator Creator)
- type Config
- type Creator
- type Node
- type Option
- type Proxy
- type StdinOption
Constants ¶
View Source
const (
MaxPacketSize = 1024 * 8
)
View Source
const Name = "PROXY"
Variables ¶
This section is empty.
Functions ¶
func CreateClientStack ¶
CreateClientStack create client tunnel stacks from lists
func CreateServerStack ¶
CreateServerStack create server tunnel stack from list
func FindAllEndpoints ¶
func RegisterProxyCreator ¶
Types ¶
type Node ¶
type Node struct { Name string Next map[string]*Node IsEndpoint bool context.Context tunnel.Server tunnel.Client }
func (*Node) LinkNextNode ¶
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
Proxy relay connections and packets
type StdinOption ¶
type StdinOption struct {
// contains filtered or unexported fields
}
func (*StdinOption) Handle ¶
func (o *StdinOption) Handle() error
func (*StdinOption) Name ¶
func (o *StdinOption) Name() string
func (*StdinOption) Priority ¶
func (o *StdinOption) Priority() int
Click to show internal directories.
Click to hide internal directories.