Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// How many requests
Requests int `description:" " long:"requests"`
// In the last `PerNBlocks` blocks
PerNBlocks int `description:" " long:"per-n-blocks"`
}
func NewDefaultConfig ¶
func NewDefaultConfig() Config
NewDefaultConfig allows 500 requests in the last 10 blocks.
Click to show internal directories.
Click to hide internal directories.