Discover Packages
github.com/ayflying/utility_go
api
callback
v1
package
Version:
v1.3.30
Opens a new window with list of versions in this module.
Published: Jan 6, 2026
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
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 struct {
g .Meta `path:"/callback/ip/{ip}" tags:"回调响应" method:"get" summary:"获取ip"`
Ip string `json:"ip" dc:"ip"`
}
type IpRes struct {
g .Meta `mime:"application/json" example:"string"`
Address []string `json:"address" dc:"地区名"`
}
type RobotsReq struct {
g .Meta `path:"/robots.txt" tags:"回调响应" method:"get" summary:"禁止爬虫"`
}
type RobotsRes struct {
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.