mirror of
https://gitlab.com/pnx-tools/dns-updater.git
synced 2026-06-16 05:54:56 +02:00
ip/resolver/manager.go: add my-ip service
This commit is contained in:
parent
1dedbbe2dd
commit
711c7fc8d6
1 changed files with 5 additions and 0 deletions
|
|
@ -62,4 +62,9 @@ func init() {
|
|||
Url: "https://api.myip.com",
|
||||
Decoder: decoder.MyIP,
|
||||
})
|
||||
|
||||
Provide(&httpres.Service{
|
||||
ServiceName: "my-ip",
|
||||
Url: "https://api.my-ip.io/v2/ip.txt",
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue