Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LeakyBucket ¶
type LeakyBucket interface { Capacity() int Name() string TimeFrame() int Empty() (bool, error) Full() (bool, error) Increase() error Fill(amount int) error LastUpdated() int GoSelect() (godata.GoRow, error) PrintRawSQL() (string, error) RefreshBucket() error Volume() (int, error) }
func LoadBucket ¶
func LoadBucket(name string) (LeakyBucket, error)
Click to show internal directories.
Click to hide internal directories.