Documentation ¶
Index ¶
- func DownloadImage(url string, filename string)
- func GetBaiduImageURL(word string) (imgURL string, imgFilename string)
- func GetBingImageURL(mode string) (imgURL string, imgFilename string)
- func GetCurrentPath() string
- func GetRandomFile(paths string) string
- func GetRandomWord(words []string) string
- func GetSogouImageURL(sort string) (imgURL string, imgFilename string)
- func GetWallpaperSavePath() string
- func GetWinScreenSize(nIndex int) int
- func GetZolImageURL(sort string) (imgURL string, imgFilename string)
- func OpenLog(file string)
- func SetRandomWall()
- type BindHpApiModelContentImageImage
- type BingHpApiModel
- type BingHpApiModelContent
- type BingHpApiModelContentImage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadImage ¶
func GetBaiduImageURL ¶
func GetBingImageURL ¶
func GetCurrentPath ¶
func GetCurrentPath() string
func GetRandomFile ¶
func GetRandomWord ¶
func GetSogouImageURL ¶ added in v1.3.2
func GetWallpaperSavePath ¶
func GetWallpaperSavePath() string
func GetWinScreenSize ¶
func GetZolImageURL ¶
func SetRandomWall ¶
func SetRandomWall()
Types ¶
type BindHpApiModelContentImageImage ¶ added in v1.3.3
type BindHpApiModelContentImageImage struct { //Url string Wallpaper string }
type BingHpApiModel ¶ added in v1.3.3
type BingHpApiModel struct {
MediaContents []BingHpApiModelContent
}
type BingHpApiModelContent ¶ added in v1.3.3
type BingHpApiModelContent struct {
ImageContent BingHpApiModelContentImage
}
type BingHpApiModelContentImage ¶ added in v1.3.3
type BingHpApiModelContentImage struct {
Image BindHpApiModelContentImageImage
}
Click to show internal directories.
Click to hide internal directories.