myip

package
v0.0.0-...-f139536 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const IPv4URL = "https://api4.my-ip.io/ip"

Variables

This section is empty.

Functions

func NewClient

func NewClient(httpClient http.Client) *client

Types

type Client

type Client interface {
	GetIPv4() (string, error)
}

Jump to

Keyboard shortcuts

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