Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultHTTPTimeout = time.Second * 10 AWSProviderURL = "http://checkip.amazonaws.com/" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PublicIPClient ¶
type PublicIPClient struct {
// contains filtered or unexported fields
}
func New ¶
func New() *PublicIPClient
func (*PublicIPClient) GetIP ¶
func (p *PublicIPClient) GetIP() (string, error)
func (*PublicIPClient) ProviderURL ¶
func (p *PublicIPClient) ProviderURL() string
Click to show internal directories.
Click to hide internal directories.