store

package
v0.18.2 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileStore

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

func NewFileStore

func NewFileStore(filename string) *FileStore

NewFileStore returns a new file based Store.

func (*FileStore) Clear

func (f *FileStore) Clear() error

func (*FileStore) Exists added in v0.6.0

func (f *FileStore) Exists() bool

func (*FileStore) ReadAll

func (f *FileStore) ReadAll() ([]core.QSO, *core.Station, *core.Contest, *core.KeyerSettings, error)

func (*FileStore) WriteContest added in v0.6.0

func (f *FileStore) WriteContest(contest core.Contest) error

func (*FileStore) WriteKeyer added in v0.6.0

func (f *FileStore) WriteKeyer(keyer core.KeyerSettings) error

func (*FileStore) WriteQSO added in v0.6.0

func (f *FileStore) WriteQSO(qso core.QSO) error

func (*FileStore) WriteStation added in v0.6.0

func (f *FileStore) WriteStation(station core.Station) error

Jump to

Keyboard shortcuts

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