1
0
Fork 0

ip/resolver/manager.go: add my-ip service

This commit is contained in:
Henrik Hautakoski 2026-02-19 10:24:54 +01:00
parent 1dedbbe2dd
commit 711c7fc8d6

View file

@ -62,4 +62,9 @@ func init() {
Url: "https://api.myip.com", Url: "https://api.myip.com",
Decoder: decoder.MyIP, Decoder: decoder.MyIP,
}) })
Provide(&httpres.Service{
ServiceName: "my-ip",
Url: "https://api.my-ip.io/v2/ip.txt",
})
} }