control

package
v0.0.0-...-a6b6bab Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package control @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OnConfig

func OnConfig(dbPath string)

OnConfig 本地存储文件

Types

type Ip2region

type Ip2region struct {
	Ip       string        //ip信息
	Country  string        //国家
	Region   string        //区域
	Province string        //省份
	City     string        //城市
	ISP      string        //运营商
	Details  string        //查询详情
	Took     time.Duration //耗时
}

func SearchByIp

func SearchByIp(ip string) *Ip2region

SearchByIp 搜索ip位置信息

Jump to

Keyboard shortcuts

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