Versions in this module Expand all Collapse all v1 v1.0.9 Oct 24, 2021 v1.0.8 Oct 24, 2021 v1.0.7 Oct 24, 2021 v1.0.6 Oct 24, 2021 v1.0.5 Oct 24, 2021 Changes in this version type Record + Frame int + Port int + RedirectType int + SavePath int + Weight int v1.0.4 Oct 24, 2021 v1.0.3 Oct 24, 2021 v1.0.2 Oct 24, 2021 Changes in this version type Record + Priority int v1.0.1 Oct 24, 2021 Changes in this version + type Apiaccess struct + Authid int + Authpassword string + Subauthid int + func (a Apiaccess) Listzones() ([]Zone, error) + type Record struct + Domain string + Host string + ID string + Record string + Rtype string + TTL int + func (r Record) Create(a *Apiaccess) (Record, error) + func (r Record) Destroy(a *Apiaccess) (Record, error) + func (r Record) Read(a *Apiaccess) (Record, error) + func (r Record) Update(a *Apiaccess) (Record, error) + type RecordMX struct + Domain string + Host string + ID string + Priority int + Record string + Rtype string + TTL int + func (r RecordMX) CreateMX(a *Apiaccess) (RecordMX, error) + type Zone struct + Domain string + Ns []string + Ztype string + func (z Zone) Create(a *Apiaccess) (Zone, error) + func (z Zone) Destroy(a *Apiaccess) (Zone, error) + func (z Zone) List(a *Apiaccess) ([]Record, error) + func (z Zone) Read(a *Apiaccess) (Zone, error) + func (z Zone) Update(a *Apiaccess) (Zone, error)