eventstore

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IconSetup

type IconSetup string
const (
	IconSetupUnknown  IconSetup = ""
	IconSetupEnabled  IconSetup = "enabled"
	IconSetupDeclined IconSetup = "declined"
)

type Store

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

func Open

func Open() (*Store, error)

func OpenAt

func OpenAt(configDir string) (*Store, error)

func (*Store) AudioDir

func (s *Store) AudioDir() string

func (*Store) AudioVolume

func (s *Store) AudioVolume() (float64, error)

func (*Store) ConfigDir

func (s *Store) ConfigDir() string

func (*Store) IconDir

func (s *Store) IconDir() string

func (*Store) Load

func (s *Store) Load() ([]event.Event, error)

func (*Store) Save

func (s *Store) Save(events []event.Event) error

func (*Store) SaveAudioVolume

func (s *Store) SaveAudioVolume(volume float64) error

func (*Store) SaveSpellIconSet added in v0.2.1

func (s *Store) SaveSpellIconSet(name string) error

func (*Store) SaveSpellIconSetup

func (s *Store) SaveSpellIconSetup(state IconSetup) error

func (*Store) Sounds

func (s *Store) Sounds() ([]string, error)

func (*Store) SpellIconSet added in v0.2.1

func (s *Store) SpellIconSet() (string, error)

func (*Store) SpellIconSets added in v0.2.1

func (s *Store) SpellIconSets() ([]string, error)

func (*Store) SpellIconSetup

func (s *Store) SpellIconSetup() (IconSetup, error)

Jump to

Keyboard shortcuts

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