func (self *Domain) Info(name string) { info, err := self.domain.Info(name) if err != nil { fmt.Println(err) return } util.PrintStruct(info) }
func (self *Domain) Create(name, contact string, years int64) { info, err := self.domain.Create(name, contact, years) if err != nil { fmt.Println(err) return } util.PrintStruct(info) }
func (self *Zone) Set(domainName string, id int64) { info, err := self.zone.Set(domainName, id) if err != nil { fmt.Println(err) return } util.PrintStruct(info) }
func (self *Record) Add(args record.RecordAdd) { info, err := self.record.Add(args) if err != nil { fmt.Println(err) return } util.PrintStruct(info) }
func (self *Zone) Create(name string) { info, err := self.zone.Create(name) if err != nil { fmt.Println(err) return } util.PrintStruct(info) }
func (self *Zone) Info(id int64) { info, err := self.zone.Info(id) if err != nil { fmt.Println(err) return } util.PrintStruct(info) }
func (self *Contact) Create(options contact.ContactCreate) { info, err := self.contact.Create(options) if err != nil { fmt.Println(err) return } util.PrintStruct(info) }
func (self *Contact) Info(handle string) { info, err := self.contact.Info(handle) if err != nil { fmt.Println(err) return } util.PrintStruct(info) }
func (self *Contact) Balance() { info, err := self.contact.Balance() if err != nil { fmt.Println(err) return } util.PrintStruct(info) }