ipapi

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IpApi

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

func NewIpApi

func NewIpApi() *IpApi

func (*IpApi) Parse

func (c *IpApi) Parse(ip string) (province string, ok bool, err error)

func (*IpApi) SetDebug

func (c *IpApi) SetDebug(d bool) *IpApi

func (*IpApi) SetLang

func (c *IpApi) SetLang(lang string) *IpApi

func (*IpApi) SetTimeout

func (c *IpApi) SetTimeout(t int64) *IpApi

SetTimeout timeout of Millisecond

Jump to

Keyboard shortcuts

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