完善 Scert 前后端与部署支持

This commit is contained in:
xuans committed 2026-08-30 17:44:54 +08:00
1 parent afdb947bea
commit 7f0af703ed
85 files changed
+7530 -800

No files matched your search

@@ -0,0 +1,15 @@
//go:build !windows && !linux
package servicehost
import (
"context"
"errors"
)
var ErrUnsupported = errors.New("当前操作系统不支持系统服务管理")
func Install(_ context.Context, _ Options) error { return ErrUnsupported }
func Uninstall(_ context.Context, _ string) error { return ErrUnsupported }
func Start(_ context.Context, _ string) error { return ErrUnsupported }
func Stop(_ context.Context, _ string) error { return ErrUnsupported }