wall

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadImage

func DownloadImage(url string, filename string)

func GetBaiduImageURL

func GetBaiduImageURL(word string) (imgURL string, imgFilename string)

func GetBingImageURL

func GetBingImageURL(mode string) (imgURL string, imgFilename string)

func GetCurrentPath

func GetCurrentPath() string

func GetRandomFile

func GetRandomFile(paths string) string

func GetRandomWord

func GetRandomWord(words []string) string

func GetSogouImageURL added in v1.3.2

func GetSogouImageURL(sort string) (imgURL string, imgFilename string)

func GetWallpaperSavePath

func GetWallpaperSavePath() string

func GetWinScreenSize

func GetWinScreenSize(nIndex int) int

func GetZolImageURL

func GetZolImageURL(sort string) (imgURL string, imgFilename string)

func OpenLog

func OpenLog(file string)

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
}

Jump to

Keyboard shortcuts

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