service

package
v0.0.0-...-c0531a0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2025 License: MIT Imports: 5 Imported by: 0

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)

Jump to

Keyboard shortcuts

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