awspublicip

package
v0.0.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2020 License: MIT Imports: 7 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL