Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NoopCompressor ¶
func NoopCompressor(w net.Conn) (io.ReadWriteCloser, error)
func SnappyCompressor ¶
func SnappyCompressor(w net.Conn) (io.ReadWriteCloser, error)
Types ¶
type GzipLeveledCompressor ¶
type GzipLeveledCompressor int
func NewGzipLeveledCompressor ¶
func NewGzipLeveledCompressor(level int) *GzipLeveledCompressor
func (GzipLeveledCompressor) NewWriter ¶
func (c GzipLeveledCompressor) NewWriter(w net.Conn) (io.ReadWriteCloser, error)
type NetWorker ¶
type NetWorker interface { TryConnect() IsAlive() bool Loop() GetStats() *WorkerStats }
Click to show internal directories.
Click to hide internal directories.