mirror of
https://github.com/Xevion/HATray.git
synced 2025-12-05 23:15:09 -06:00
20 lines
243 B
Go
20 lines
243 B
Go
package internal
|
|
|
|
type Status int
|
|
|
|
const (
|
|
StatusUnknown Status = iota
|
|
StatusRunning
|
|
StatusStopped
|
|
StatusError
|
|
)
|
|
|
|
type Service interface {
|
|
Status() Status
|
|
State() string
|
|
Connected() bool
|
|
Reload() error
|
|
Pause() error
|
|
Resume() error
|
|
}
|