Add service component type

This commit is contained in:
世界
2025-03-29 17:24:34 +08:00
parent 05390b9e91
commit a8a7cb2b4d
22 changed files with 431 additions and 62 deletions
+5
View File
@@ -2,6 +2,11 @@ package adapter
import E "github.com/sagernet/sing/common/exceptions"
type SimpleLifecycle interface {
Start() error
Close() error
}
type StartStage uint8
const (