Documentation
¶
Index ¶
Constants ¶
View Source
const ( // EAGAIN will be returned when resource temporarily unavailable. EAGAIN = syscall.EAGAIN )
Variables ¶
View Source
var ( // EOF is the error returned by Read when no more input is available. // Functions should return EOF only to signal a graceful end of input. // If the EOF occurs unexpectedly in a structured data stream, // the appropriate error is either ErrUnexpectedEOF or some other error // giving more detail. EOF = io.EOF // ErrNotHandled will be returned when the splice is not supported. ErrNotHandled = errors.New("The splice is not supported") )
View Source
var ErrSyscallConn = errors.New("The net.Conn do not implements the syscall.Conn interface")
ErrSyscallConn will be returned when the net.Conn do not implements the syscall.Conn interface.
Functions ¶
func MaxIdleContextsPerBucket ¶
func MaxIdleContextsPerBucket(max int)
MaxIdleContextsPerBucket sets the maxIdleContexts per bucket.
func Splice ¶
Splice wraps the splice system call.
splice() moves data between two file descriptors without copying between kernel address space and user address space. It transfers up to len bytes of data from the file descriptor rfd to the file descriptor wfd, where one of the descriptors must refer to a pipe.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.