Documentation ¶
Index ¶
Constants ¶
View Source
const (
UA = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36"
)
Variables ¶
View Source
var (
SafeMap = cmap.New[*Pool]()
)
Functions ¶
Types ¶
type Config ¶
type Config struct { Duration time.Duration `yaml:"duration"` Blockchain []struct { PubGetFieldRule map[string]string `yaml:"pub_get_field_rule"` PrivyGetFieldRule map[string]string `yaml:"privy_get_field_rule"` Name string `yaml:"name"` PubNode []Node `yaml:"pub_node"` PrivyNode []Node `yaml:"privy_node"` } `yaml:"blockchain"` }
var (
Cfg Config
)
Click to show internal directories.
Click to hide internal directories.