Directories
¶
Path | Synopsis |
---|---|
Package bs provides a few handy bytes/string functions.
|
Package bs provides a few handy bytes/string functions. |
buffer
|
|
elastic
Package elastic implements an elastic ring-buffer.
|
Package elastic implements an elastic ring-buffer. |
linkedlist
Package linkedlist implements a memory-reusable linked list of byte slices.
|
Package linkedlist implements a memory-reusable linked list of byte slices. |
ring
Package ring implements a memory-efficient circular buffer.
|
Package ring implements a memory-efficient circular buffer. |
Package errors defines common errors for gnet.
|
Package errors defines common errors for gnet. |
Package io provides some handy network I/O functions.
|
Package io provides some handy network I/O functions. |
Package logging provides logging functionality for gnet applications, it sets up a default logger (powered by go.uber.org/zap) that is about to be used by your gnet application.
|
Package logging provides logging functionality for gnet applications, it sets up a default logger (powered by go.uber.org/zap) that is about to be used by your gnet application. |
Package math provides a few fast math functions.
|
Package math provides a few fast math functions. |
Package netpoll provides a portable event-driven interface for network I/O.
|
Package netpoll provides a portable event-driven interface for network I/O. |
pool
|
|
bytebuffer
Package bytebuffer is a pool of bytebufferpool.ByteBuffer.
|
Package bytebuffer is a pool of bytebufferpool.ByteBuffer. |
byteslice
Package byteslice implements a pool of byte slices consisting of sync.Pool's that collect byte slices with different length sizes from 0 to 32 in powers of 2.
|
Package byteslice implements a pool of byte slices consisting of sync.Pool's that collect byte slices with different length sizes from 0 to 32 in powers of 2. |
goroutine
Package goroutine is a wrapper of github.com/panjf2000/ants with some practical configurations.
|
Package goroutine is a wrapper of github.com/panjf2000/ants with some practical configurations. |
ringbuffer
Package ringbuffer implements a GC-friendly pool of ring buffers.
|
Package ringbuffer implements a GC-friendly pool of ring buffers. |
Package queue delivers an implementation of lock-free concurrent queue based on the algorithm presented by Maged M. Michael and Michael L. Scot.
|
Package queue delivers an implementation of lock-free concurrent queue based on the algorithm presented by Maged M. Michael and Michael L. Scot. |
Package socket provides some handy socket-related functions.
|
Package socket provides some handy socket-related functions. |
Click to show internal directories.
Click to hide internal directories.