ipuainfo

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 IpUAInfo

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

func NewIpUAInfo

func NewIpUAInfo() *IpUAInfo

func (*IpUAInfo) Parse

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

func (*IpUAInfo) SetDebug

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

func (*IpUAInfo) SetTimeout

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

SetTimeout timeout of Millisecond

Jump to

Keyboard shortcuts

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