weather

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertWeatherToString

func ConvertWeatherToString(realDate []byte) (string, error)

ConvertWeatherToString ...

func GetRealtime

func GetRealtime(conf config.Weather) (data []byte, err error)

GetRealtime 预警信息 + 实况(当时天气状况) + 未来的天气信息

func GetWeatherInfo

func GetWeatherInfo(conf config.Weather) (string, error)

GetWeatherInfo get weather info

func ParseWeatherConfigToString

func ParseWeatherConfigToString(conf config.Weather) string

ParseWeatherConfigToString ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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