Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DummyConfig ¶
type Store ¶
type Store interface { // Load data from the store Load() (StoreData, error) // Save data to the store Store(data StoreData) error }
func NewDummyStore ¶
func NewDummyStore(config DummyConfig) Store
func NewJSONStore ¶
func NewJSONStore(config JSONConfig) Store
type StoreData ¶
type StoreData struct { Version uint64 `json:"version"` Process map[string]*app.Process `json:"process"` Metadata struct { System map[string]interface{} `json:"system"` Process map[string]map[string]interface{} `json:"process"` } `json:"metadata"` }
func NewStoreData ¶
func NewStoreData() StoreData
Click to show internal directories.
Click to hide internal directories.