savemanager

package
v1.0.79 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadSaveFile

func DownloadSaveFile(fileName string) error

func GetSaveDir

func GetSaveDir() (string, error)

func GetSaveFiles

func GetSaveFiles()

func InitSaveManager

func InitSaveManager()

func ShutdownSaveManager

func ShutdownSaveManager() error

func SyncSaveFiles added in v1.0.68

func SyncSaveFiles() error

func UploadSaveFile

func UploadSaveFile(filePath string) error

Types

type SaveFile

type SaveFile struct {
	FilePath     string    `json:"filePath"`
	FileName     string    `json:"fileName"`
	ModTime      time.Time `json:"modTime"`
	UploadedTime time.Time `json:"-"`
	Size         int64     `json:"size"`
}

func GetCachedSaveFiles added in v1.0.66

func GetCachedSaveFiles() []SaveFile

Jump to

Keyboard shortcuts

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