Documentation
¶
Index ¶
- Constants
- type API
- func (api *API) AddSubdomain(domain string, subdomain string) (*Status, error)
- func (api *API) AddZoneRecord(domain string, subdomain string, record *Record) error
- func (api *API) Call(serviceMethod string, args []interface{}, reply interface{}) error
- func (api *API) GetSubdomain(domain string, subdomain string) (*Subdomain, error)
- func (api *API) GetSubdomains(domain string) ([]Subdomain, error)
- func (api *API) GetZoneRecord(domain string, subdomain string, id int64) (*Record, error)
- func (api *API) GetZoneRecords(domain string, subdomain string) ([]Record, error)
- func (api *API) RemoveSubDomain(domain string, subdomain string) (*Status, error)
- func (api *API) RemoveZoneRecord(domain string, subdomain string, id int64) (*Status, error)
- func (api *API) UpdateZoneRecord(domain string, subdomain string, record Record) (*Status, error)
- func (api *API) XMLRPCClient() *xmlrpc.Client
- type Record
- type Status
- type Subdomain
Constants ¶
View Source
const APIURL string = "https://api.loopia.se/RPCSERV"
APIURL - where API is hosted
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
API Struct to store runtime info
func (*API) AddSubdomain ¶
AddSubdomain - method for creating subdomain
func (*API) AddZoneRecord ¶
AddZoneRecord - Create zone record
func (*API) GetSubdomain ¶
GetSubdomain ...
func (*API) GetSubdomains ¶
GetSubdomains - Method for fetching all subdomains
func (*API) GetZoneRecord ¶
GetZoneRecord - fetch specific zone record
func (*API) GetZoneRecords ¶
GetZoneRecords - fetch subdomains records
func (*API) RemoveSubDomain ¶
RemoveSubDomain - Removes a subdomain
func (*API) RemoveZoneRecord ¶
RemoveZoneRecord - remove zone record
func (*API) UpdateZoneRecord ¶
UpdateZoneRecord -
func (*API) XMLRPCClient ¶
XMLRPCClient to interact with Loopia XMLRPC
Click to show internal directories.
Click to hide internal directories.