types

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL