savemanager

package
v1.0.66 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: MIT Imports: 7 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 UploadSaveFile

func UploadSaveFile(filePath string) error

func UploadSaveFiles

func UploadSaveFiles()

Types

type HttpRequestBody_SaveInfo

type HttpRequestBody_SaveInfo struct {
	SaveFiles []SaveFile `json:"saveFiles"`
}

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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