v1

package
v1.1.10 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ip

type Ip struct {
	Country  string `json:"country" dc:"国家"`  //国家
	Region   string `json:"region" dc:"地区"`   //地区
	Province string `json:"province" dc:"省份"` //省份
	City     string `json:"city" dc:"城市"`     //城市
	District string `json:"district" dc:"区县"` //区县
}

type IpReq

type IpReq struct {
	g.Meta `path:"/callback/ip/{ip}" tags:"回调响应" method:"get" summary:"获取ip"`
	Ip     string `json:"ip" dc:"ip"`
}

type IpRes

type IpRes struct {
	g.Meta  `mime:"application/json" example:"string"`
	Address []string `json:"address" dc:"地区名"`
}

Jump to

Keyboard shortcuts

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