storage

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage struct {
	// contains filtered or unexported fields
}

func InitStorage

func InitStorage(path string) *Storage

func (*Storage) Clear

func (s *Storage) Clear() error

func (*Storage) Load

func (s *Storage) Load() (entity.SaveState, error)

func (*Storage) Save

func (s *Storage) Save(save entity.SaveState)

Jump to

Keyboard shortcuts

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