sofa-common-go

module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2022 License: Apache-2.0

Directories

Path Synopsis
helper
easyreader
Package easyreader reads the input string and returns a io.Reader
Package easyreader reads the input string and returns a io.Reader
fnv
readhelper
Package readhelper provides a helper to read integer from reader.
Package readhelper provides a helper to read integer from reader.
syncpool
bytespool
Package bytespool provides a sync.Pool with *[]byte to reduce memory.
Package bytespool provides a sync.Pool with *[]byte to reduce memory.
fastbuffer
Package fastbuffer implements the allocation and release for [][]byte to reduce memory allocation.
Package fastbuffer implements the allocation and release for [][]byte to reduce memory allocation.
writer
asyncwriter
Package AsyncWriter implements the io.Writer which batch writes (maybe writev if it's net.Conn) to writer by channel
Package AsyncWriter implements the io.Writer which batch writes (maybe writev if it's net.Conn) to writer by channel
batchwriter
Package batchwriter implements the io.Writer which batch writes (maybe writev if it's net.Conn) to writer by channel
Package batchwriter implements the io.Writer which batch writes (maybe writev if it's net.Conn) to writer by channel
bufiorw
Package bufiorw implements buffered I/O. It wraps an io.Reader or io.Writer object, creating another object (Reader or Writer) that also implements the interface but provides buffering and some help for textual I/O.
Package bufiorw implements buffered I/O. It wraps an io.Reader or io.Writer object, creating another object (Reader or Writer) that also implements the interface but provides buffering and some help for textual I/O.
dsn

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL