ipvore

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IpVore

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

func NewIpVore

func NewIpVore() *IpVore

注意:该网站请求超市时间一般需要大于2s以上

func (*IpVore) Parse

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

func (*IpVore) SetDebug

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

func (*IpVore) SetTimeout

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

SetTimeout timeout of Millisecond

Jump to

Keyboard shortcuts

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