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)
|