refactor: WireGuard endpoint

This commit is contained in:
世界
2024-11-29 10:55:17 +08:00
parent 043175e608
commit 72a5c15651
93 changed files with 2182 additions and 680 deletions
+4 -1
View File
@@ -101,7 +101,10 @@ func newMultiInbound(ctx context.Context, router adapter.Router, logger log.Cont
return inbound, err
}
func (h *MultiInbound) Start() error {
func (h *MultiInbound) Start(stage adapter.StartStage) error {
if stage != adapter.StartStateStart {
return nil
}
return h.listener.Start()
}