Documentation ¶
Index ¶
- type Digioceandns
- func (digioceandns *Digioceandns) CreateDns(request interface{}) (resp interface{}, err error)
- func (digioceandns *Digioceandns) DeleteDns(request interface{}) (resp interface{}, err error)
- func (digioceandns *Digioceandns) ListDns(request interface{}) (resp interface{}, err error)
- func (digioceandns *Digioceandns) ListResourceDnsRecordSets(request interface{}) (resp interface{}, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Digioceandns ¶
type Digioceandns struct { Type string `json:"type"` Name string `json:"name"` Data string `json:"data"` Priority int `json:"priority,omitempty"` Port int `json:"port,omitempty"` TimeToLive int `json:"ttl"` Weight int `json:"weight,omitempty"` Flags int `json:"flags,omitempty"` Tag string `json:"tag"` }
Digioceandns struct represents a DigitalOcean DNS service.
func (*Digioceandns) CreateDns ¶
func (digioceandns *Digioceandns) CreateDns(request interface{}) (resp interface{}, err error)
CreateDns function creates a new DNS record.
func (*Digioceandns) DeleteDns ¶
func (digioceandns *Digioceandns) DeleteDns(request interface{}) (resp interface{}, err error)
DeleteDns function deletes a DNS record.
func (*Digioceandns) ListDns ¶
func (digioceandns *Digioceandns) ListDns(request interface{}) (resp interface{}, err error)
ListDns function lists DNS records.
func (*Digioceandns) ListResourceDnsRecordSets ¶
func (digioceandns *Digioceandns) ListResourceDnsRecordSets(request interface{}) (resp interface{}, err error)
ListResourceDnsRecordSets function lists DNS record sets. DigitalOcean API doesn't provide functionality to suppport this function.
Click to show internal directories.
Click to hide internal directories.