Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONMarshal ¶
Types ¶
type Config ¶
type Config struct {
Service struct {
Vultr struct {
APIKey string
}
DigitalOcean struct {
APIKey string
}
AWS struct {
AWSAccessKeyID string
AWSSecretAccessKey string
Region string
}
GitHub struct {
APIKey string
Orgs []string
Users []string
}
}
Waybar struct {
Pango string
PangoJoiner string
}
Menu struct {
Template string
Joiner string
IsDefault bool
}
}
type Service ¶
type Service struct {
Client ServiceClient `json:"-"`
ID string `json:"id"`
Name string `json:"name"`
Status *ServiceStatus `json:"status"`
}
type ServiceClient ¶
type ServiceClient interface {
GetServiceStatus() (*ServiceStatus, error)
}
Click to show internal directories.
Click to hide internal directories.