Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PersistentAdapter ¶
type PersistentAdapter struct {
// contains filtered or unexported fields
}
adapter which saves or loads settings to/from disk
func NewPersistentAdapter ¶
func NewPersistentAdapter() *PersistentAdapter
func (*PersistentAdapter) Get ¶
func (pa *PersistentAdapter) Get() (cfg *domain.Settings, err error)
func (*PersistentAdapter) Load ¶
func (pa *PersistentAdapter) Load() (err error)
reads settings from disk
Click to show internal directories.
Click to hide internal directories.