Documentation ¶ Index ¶ type TLSConfig type Token type TokenSpec Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type TLSConfig ¶ type TLSConfig struct { CrtPath string `yaml:"crt_path"` KeyPath string `yaml:"key_path"` } type Token ¶ added in v0.2.0 type Token struct { TokenSpec RemainingCalls int } type TokenSpec ¶ type TokenSpec struct { Token string `yaml:"token"` // ExpectedRateLimit is the expected hourly limit for this token (e.g. 5000 for a user token, 60 for an anonymous one) ExpectedRateLimit int `yaml:"expected_rate_limit"` } Source Files ¶ View all Source files types.go Click to show internal directories. Click to hide internal directories.