Documentation
¶
Index ¶
- Constants
- func ParseIPZone(s string) (net.IP, string)
- func Pipe(src, dst io.ReadWriter, count func(int)) error
- func Pipe2Way(rw1, rw2 io.ReadWriter, count func(int)) error
- func PipePairWithTimeout(conn net.Conn, stream io.ReadWriteCloser, timeout time.Duration) error
- func SplitHostPort(hostport string) (string, uint16, error)
Constants ¶
View Source
const PipeBufferSize = 32 * 1024
Variables ¶
This section is empty.
Functions ¶
func Pipe2Way ¶
func Pipe2Way(rw1, rw2 io.ReadWriter, count func(int)) error
count: positive numbers for rw1 to rw2, negative numbers for rw2 to re1
func PipePairWithTimeout ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.