Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CopyBufPool = sync.Pool{ New: func() interface{} { return make([]byte, 4096) }, }
Functions ¶
func CoarseTimeNow
deprecated
func CreateFixedBytes ¶
Types ¶
type FlushWriter ¶
type NoCopy ¶
type NoCopy struct{} //nolint:unused
Embed this type into a struct, which mustn't be copied, so `go vet` gives a warning if this struct is copied.
See https://github.com/golang/go/issues/8005#issuecomment-190753527 for details. and also: https://stackoverflow.com/questions/52494458/nocopy-minimal-example
Click to show internal directories.
Click to hide internal directories.