1
0
Fork 0
mirror of https://gitlab.com/pnx-tools/dns-updater.git synced 2026-06-16 05:54:56 +02:00
dns-updater/dns/service/service.go
2025-10-13 17:03:31 +02:00

10 lines
215 B
Go

package service
import "dnsupdater/dns"
type Service interface {
List(domain string) (dns.RecordList, error)
Update(domain, recordID, ip string) error
}
type Factory func(map[string]any) (any, error)