Documentation
¶
Index ¶
- Variables
- func DisableBufPool()
- func FreeOSMemory()
- func NewBufPool(minSize, maxSize uint32) *defaultBufPool
- func SetFreeMemoryInterval(interval int)
- func SetGCPercent(percent int)
- func SetGOMAXPROCS(value int)
- func SetTcpStreamTimeout(seconds int)
- func SetUdpStreamTimeout(seconds int)
- func UseDefaultLogger()
- type BufferPool
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func DisableBufPool ¶
func DisableBufPool()
func FreeOSMemory ¶
func FreeOSMemory()
func NewBufPool ¶
func NewBufPool(minSize, maxSize uint32) *defaultBufPool
func SetFreeMemoryInterval ¶
func SetFreeMemoryInterval(interval int)
func SetGCPercent ¶
func SetGCPercent(percent int)
func SetGOMAXPROCS ¶
func SetGOMAXPROCS(value int)
func SetTcpStreamTimeout ¶
func SetTcpStreamTimeout(seconds int)
func SetUdpStreamTimeout ¶
func SetUdpStreamTimeout(seconds int)
func UseDefaultLogger ¶
func UseDefaultLogger()
Types ¶
type BufferPool ¶
var BufPool BufferPool
Click to show internal directories.
Click to hide internal directories.