mirror of
https://github.com/jkstack/libagent.git
synced 2025-12-24 12:11:57 +08:00
15 lines
236 B
Go
15 lines
236 B
Go
package agent
|
|
|
|
import "github.com/kardianos/service"
|
|
|
|
type builtinService interface {
|
|
Install() error
|
|
Uninstall() error
|
|
Run() error
|
|
Start() error
|
|
Stop() error
|
|
Restart() error
|
|
Status() (service.Status, error)
|
|
Platform() string
|
|
}
|