Documentation
¶
Index ¶
- type Cloudflare
- func (c *Cloudflare) GetApiEndpoint() string
- func (c *Cloudflare) GetUserAgent() string
- func (c *Cloudflare) Init(token string) error
- func (c *Cloudflare) Resolve(fqdn string) (string, error)
- func (c *Cloudflare) SetApiEndpoint(ep string)
- func (c *Cloudflare) SetUserAgent(ua string)
- func (c *Cloudflare) Update(fqdn, ip string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cloudflare ¶
type Cloudflare struct {
// contains filtered or unexported fields
}
func New ¶
func New() *Cloudflare
func (*Cloudflare) GetApiEndpoint ¶ added in v0.5.0
func (c *Cloudflare) GetApiEndpoint() string
func (*Cloudflare) GetUserAgent ¶ added in v0.5.0
func (c *Cloudflare) GetUserAgent() string
func (*Cloudflare) Init ¶
func (c *Cloudflare) Init(token string) error
func (*Cloudflare) Resolve ¶ added in v0.2.0
func (c *Cloudflare) Resolve(fqdn string) (string, error)
func (*Cloudflare) SetApiEndpoint ¶ added in v0.5.0
func (c *Cloudflare) SetApiEndpoint(ep string)
func (*Cloudflare) SetUserAgent ¶ added in v0.5.0
func (c *Cloudflare) SetUserAgent(ua string)
func (*Cloudflare) Update ¶ added in v0.2.0
func (c *Cloudflare) Update(fqdn, ip string) error
Click to show internal directories.
Click to hide internal directories.