Documentation ¶
Overview ¶
Package http @Link https://gitee.com/linngc/center.gf @Copyright Copyright (c) 2022 center CLI @Author linngc @License
Index ¶
- Variables
- func CheckUriTime(url string) *monitor.HttpTime
- func CheckUriVerify(uris []string) map[string]bool
- func GetCityByIp(ip string) string
- func GetClientIp(ctx context.Context) string
- func GetDomain(ctx context.Context) string
- func GetLocalIP() (ip string, err error)
- func GetReqClientIp(r *ghttp.Request) string
- func GetUserAgent(ctx context.Context) string
- type Weather
- type WeatherCity
- type WeatherDay
Constants ¶
This section is empty.
Variables ¶
View Source
var (
CityMap = make(map[string]WeatherCity)
)
Functions ¶
Types ¶
type Weather ¶
type Weather struct {
Weatherinfo WeatherDay
}
Click to show internal directories.
Click to hide internal directories.