Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigItem ¶
type ConfigItem struct { Name string `json:"name"` Value string `json:"value"` Created time.Time `json:"created"` Updated time.Time `json:"updated"` }
ConfigItem represents a single configuration item
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager is the data manager
func NewManager ¶
NewManager creates a new instance of a Manager and returns it
func (Manager) DeleteConfig ¶
DeleteConfig removes a config item from the system
func (Manager) GetAllConfig ¶
func (store Manager) GetAllConfig() ([]ConfigItem, error)
GetAllConfig gets all config items in the system
type WebSocketResponse ¶
type WebSocketResponse struct { Type string `json:"type"` Data ConfigItem `json:"data"` }
WebSocketResponse represents a WebSocket event response
Click to show internal directories.
Click to hide internal directories.