Documentation ¶
Overview ¶
Provides leaky buffer, based on the example in Effective Go.
Index ¶
Constants ¶
View Source
const (
GlobalLeakyBufSize = 32 * 1024 // data.len(2) + hmacsha1(10) + data(4096)
)
Variables ¶
View Source
var GlobalLeakyBuf = NewLeakyBuf(maxNBuf, GlobalLeakyBufSize)
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.