netpipe

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package netpipe は 2 つの接続を双方向に中継する(ハーフクローズ維持)。 エージェントの TCP 中継(仕様 7 節)と、vpsd のプロキシモードの中継(仕様 6.2 節)が共有する。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Pipe

func Pipe(a, b net.Conn)

Pipe は a と b を双方向に中継する。片方向の EOF は CloseWrite で反対側に伝え、 両方向が閉じたら両方を閉じる。

Types

This section is empty.

Jump to

Keyboard shortcuts

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