mirror of
https://gitlab.com/pnx-tools/dns-updater.git
synced 2026-06-16 05:54:56 +02:00
10 lines
215 B
Go
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)
|