package ddns import ( "errors" "git.trj.tw/golang/go-ddns-client/module/config" ) // Errors var ( ErrNoDomain = errors.New("No Domain Setting") ) // SendDNSSetting - func SendDNSSetting() error { conf := config.GetConfig() if len(conf.Domains) == 0 { return ErrNoDomain } return nil } func parseConf(domains []config.DomainData) { }