Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Disk ¶
type Disk struct{ Dir string }
Disk reads and writes the daemon's persistent state.
func (Disk) Load ¶ added in v1.2.0
func (d Disk) Load() (PersistentState, error)
func (Disk) Save ¶
func (d Disk) Save(state PersistentState) error
type PersistentState ¶ added in v1.2.0
Click to show internal directories.
Click to hide internal directories.