Documentation
¶
Overview ¶
Package cloudflare consumes the Cloudflare API (https://api.cloudflare.com/).
Index ¶
Constants ¶
View Source
const ConfigFilename = "cloudflare.json"
ConfigFilename defines the default filename for Cloudflare API Config files.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { APIKey string // API key generated on the "My Account" page Email string // Email address associated with Cloudflare account }
A Config for the Cloudflare API.
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
Session for the Cloudflare API.
func NewWithConfig ¶
NewWithConfig opens a new Cloudflare API session with parameters from config.
Click to show internal directories.
Click to hide internal directories.