Documentation ¶
Index ¶
- func DialRemoteLoop(n pointc.Net, dstPort uint16, pairs <-chan *ConnPair, dialed chan<- *ConnPair)
- func ListenLoop(ln net.Listener, conns chan<- net.Conn)
- func PrepareConnPairLoop(ctx context.Context, logger *slog.Logger, conns <-chan net.Conn, ...)
- func StartCopyLoop(pairs <-chan *ConnPair, ...)
- func TcpCopy(done func(), dst io.Writer, src io.Reader, logger *slog.Logger)
- type ConnPair
- type Forward
- type ForwardProto
- type ForwardTCP
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DialRemoteLoop ¶
func PrepareConnPairLoop ¶
func StartCopyLoop ¶
Types ¶
type ConnPair ¶
type Forward ¶
type Forward struct { ForwardsRaw []json.RawMessage `json:"forwards,omitempty" caddy:"namespace=point-c.op.forward inline_key=forward"` Host configvalues.Hostname // contains filtered or unexported fields }
func (*Forward) CaddyModule ¶
func (f *Forward) CaddyModule() caddy.ModuleInfo
type ForwardProto ¶
type ForwardProto = lifecycler.LifeCyclable[pointc.Net]
type ForwardTCP ¶
type ForwardTCP struct { Ports configvalues.PortPair `json:"ports"` // contains filtered or unexported fields }
func (*ForwardTCP) CaddyModule ¶
func (f *ForwardTCP) CaddyModule() caddy.ModuleInfo
func (*ForwardTCP) Cleanup ¶
func (f *ForwardTCP) Cleanup() error
func (*ForwardTCP) Provision ¶
func (f *ForwardTCP) Provision(ctx caddy.Context) error
func (*ForwardTCP) Stop ¶
func (f *ForwardTCP) Stop() error
func (*ForwardTCP) UnmarshalCaddyfile ¶
func (f *ForwardTCP) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
Click to show internal directories.
Click to hide internal directories.