Files
ddns-updater-qdm12-3/internal/health/interfaces.go
2022-12-07 10:10:18 +00:00

23 lines
354 B
Go

package health
import (
"context"
"net"
"github.com/qdm12/ddns-updater/internal/records"
)
type AllSelecter interface {
SelectAll() (records []records.Record)
}
type LookupIPer interface {
LookupIP(ctx context.Context, network, host string) (ips []net.IP, err error)
}
type Logger interface {
Info(s string)
Warn(s string)
Error(s string)
}