echoip

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IfconfigResolver

type IfconfigResolver struct {
	Client http.Client
}

func (*IfconfigResolver) GetIP

func (resolver *IfconfigResolver) GetIP(ctx context.Context) (net.IP, error)

type Resolver

type Resolver interface {
	GetIP(ctx context.Context) (net.IP, error)
}

Jump to

Keyboard shortcuts

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