Versions in this module Expand all Collapse all v0 v0.5.0 Mar 7, 2017 Changes in this version + func CryptoRandBytes(size int) ([]byte, error) + func CryptoRandInt(min, max int64) int64 + func MergeSeeds(one [][]byte, two [][]byte) [][]byte + func RandInt(min, max int) int + func ReadPost(r io.Reader, delim byte) + func ShuffleBytes(slice [][]byte) + func SliceDiff(one [][]byte, two [][]byte) [][]byte + type Limiter struct + Throttle chan time.Time + Ticker *time.Ticker + func NewLimiter(rate time.Duration, burst int, fill bool) *Limiter + func (l *Limiter) Stop() + func (l *Limiter) Wait() + type PeerLimiter struct + func (pl *PeerLimiter) Setup()