Documentation
¶
Overview ¶
Package soc has utilities for working with sockets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsPermanentNetErr ¶
IsPermanentNetErr returns true if the error is not a temporary net.Error.
Types ¶
type Data ¶
Data is the bytes & error that were read from a socket. When data's bytes are no longer used data must be released.
type MemPool ¶
type MemPool struct {
// contains filtered or unexported fields
}
MemPool is a pool of allocated memory slabs.
func NewMemPool ¶
NewMemPool returns a new MemPool.
Click to show internal directories.
Click to hide internal directories.