Documentation ¶
Overview ¶
Provides leaky buffer, based on the example in Effective Go.
Index ¶
Constants ¶
View Source
const LeakyBufSize = 2048 // data.len(2) + hmacsha1(10) + data(4096)
Variables ¶
View Source
var LeakyBuffer = NewLeakyBuf(maxNBuf, LeakyBufSize)
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.