18 lines
433 B
Go
18 lines
433 B
Go
//go:build !windows
|
|
|
|
package winsvc
|
|
|
|
import "fmt"
|
|
|
|
func RunAsService() error {
|
|
return fmt.Errorf("windows service is not supported on this platform")
|
|
}
|
|
|
|
func InstallService(serverURL, enrollmentToken, label string) error {
|
|
return fmt.Errorf("windows service installation is not supported on this platform")
|
|
}
|
|
|
|
func UninstallService() error {
|
|
return fmt.Errorf("windows service uninstallation is not supported on this platform")
|
|
}
|