mirror of
https://gitlab.com/pnx-tools/dns-updater.git
synced 2026-06-16 05:54:56 +02:00
11 lines
189 B
Go
11 lines
189 B
Go
package provider
|
|
|
|
import (
|
|
"net"
|
|
)
|
|
|
|
type Provider interface {
|
|
Update(domain string, record string, ip net.IP) error
|
|
}
|
|
|
|
type ProviderFactory func(map[string]interface{}) (Provider, error)
|