Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultSFCapacity = 1e6 // FalsePositiveRate DefaultSFFPR = 1e-6 DefaultSFSlot = 10 )
Those suggest value are all set according to https://github.com/shadowsocks/shadowsocks-org/issues/44#issuecomment-281021054 Due to this package contains various internal implementation so const named with DefaultBR prefix
View Source
const EnvironmentPrefix = "SHADOWSOCKS_"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BloomRing ¶
type BloomRing struct {
// contains filtered or unexported fields
}
func NewBloomRing ¶
Click to show internal directories.
Click to hide internal directories.