Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WallpaperService ¶
type WallpaperService struct {
WallpaperDir string
}
func NewWallpaperService ¶
func NewWallpaperService(wallpaperDir string) *WallpaperService
func (*WallpaperService) GetWallpapers ¶
func (s *WallpaperService) GetWallpapers() ([]model.Wallpaper, error)
func (*WallpaperService) SetWallpaper ¶
func (s *WallpaperService) SetWallpaper(path string) error
func (*WallpaperService) UpdateWallpaperDirectory ¶
func (s *WallpaperService) UpdateWallpaperDirectory(newDir string)
Click to show internal directories.
Click to hide internal directories.