1
0
Fork 0

Initial commit

This commit is contained in:
Henrik Hautakoski 2023-04-28 16:41:44 +02:00
commit f57d355631
27 changed files with 1315 additions and 0 deletions

View file

@ -0,0 +1,16 @@
package mock
import "net"
type Service struct {
IP net.IP
Error error
}
func (s Service) Name() string {
return "mock"
}
func (s Service) Lookup() (net.IP, error) {
return s.IP, s.Error
}