ipinfo

package
v0.0.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	Country  string
	City     string
	Provider string
	ASN      uint16
}

func (Info) String

func (i Info) String() string

type Lookup

type Lookup struct {
	// contains filtered or unexported fields
}

func NewLookup

func NewLookup() *Lookup

func (*Lookup) Available

func (i *Lookup) Available() bool

func (*Lookup) Configure

func (i *Lookup) Configure(c app.Config) error

func (*Lookup) Get

func (i *Lookup) Get(p pmux.Proxy) (info Info)

func (*Lookup) Start

func (i *Lookup) Start(ctx app.Context)

Jump to

Keyboard shortcuts

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