refactor: Extract services form router

This commit is contained in:
世界
2024-11-10 16:46:59 +08:00
parent a0e3dca836
commit 7c43af184f
27 changed files with 315 additions and 465 deletions

View File

@@ -24,7 +24,7 @@ type OutboundRegistry interface {
}
type OutboundManager interface {
NewService
Lifecycle
Outbounds() []Outbound
Outbound(tag string) (Outbound, bool)
Default() Outbound