Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JKWether ¶
type JKWether struct {
JKWetherBase
// contains filtered or unexported fields
}
func JKWetherNew ¶
func (*JKWether) QueryCity ¶
func (w *JKWether) QueryCity() (*[]JKWetherCity, error)
type JKWetherBase ¶
type JKWetherBase struct {
Result map[string]interface{}
ResultW JKWetherInfo
// contains filtered or unexported fields
}
type JKWetherCity ¶
type JKWetherCity struct {
}
type JKWetherInfo ¶
type JKWetherInfo struct {
Error_code int
Result JKWetherInfoResult
// Get time of this information
GetTime int64
}
type JKWetherInfoFuture ¶
type JKWetherInfoFuture struct {
}
type JKWetherInfoResult ¶
type JKWetherInfoResult struct {
Sk JKWetherInfoResultSk
Today JKWetherInfoToday
Future JKWetherInfoFuture
}
type JKWetherInfoResultSk ¶
type JKWetherInfoToday ¶
type JKWetherInterface ¶
type JKWetherInterface interface {
Query(location string) (*JKWetherInfo, error)
QueryCity() (*[]JKWetherCity, error)
}
Click to show internal directories.
Click to hide internal directories.