package
Version:
v1.1.2
Opens a new window with list of versions in this module.
Published: Jun 19, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Ipify API Client
This package provides a client for the Ipify API, which is used to determine the public IP address of a client.
References:
Documentation
¶
ipify implements a generic API client which parses a JSON response. Mostly used
to test the client package.
type Client struct {
*client.Client
}
Create a new client which can be used to return the current IP address
Get returns the current IP address from the API
Return all the agent tools for the weatherapi
type Response struct {
IP string `json:"ip"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.