Documentation
¶
Overview ¶
Package config provides persistent configuration for the Hub.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ID string `json:"id"`
Name string `json:"name"`
Platform string `json:"platform"`
}
Config holds the hub configuration.
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager handles loading and saving configuration.
func NewManager ¶
NewManager creates a new configuration manager.
func (*Manager) GenerateNewID ¶
GenerateNewID generates a new unique ID (for troubleshooting).
func (*Manager) GetPlatform ¶
GetPlatform returns the hub platform.
Click to show internal directories.
Click to hide internal directories.