Documentation ¶
Index ¶
- type Store
- func (s *Store) DelValue(name string) error
- func (s *Store) DelValuePrefix(prefix string) ([]string, error)
- func (s *Store) GetPathToStringFile(filename string) string
- func (s *Store) LoadOrSaveValue(name string, fetchFn func() (string, error)) (string, error)
- func (s *Store) LoadStringFile(filename string) (string, error)
- func (s *Store) LoadValue(name string) (string, error)
- func (s *Store) SaveValue(name, value string) error
- func (s *Store) WriteStringFile(filename, contents string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
Dir string
}
func (*Store) GetPathToStringFile ¶
func (*Store) LoadOrSaveValue ¶
func (*Store) WriteStringFile ¶
Click to show internal directories.
Click to hide internal directories.