add run many core at the same time

This commit is contained in:
Yuzuki616
2023-06-09 21:20:41 +08:00
parent 9827d442d5
commit f07629d438
9 changed files with 142 additions and 9 deletions

View File

@@ -2,10 +2,11 @@ package hy
import (
"fmt"
"sync"
"github.com/Yuzuki616/V2bX/conf"
vCore "github.com/Yuzuki616/V2bX/core"
"github.com/hashicorp/go-multierror"
"sync"
)
func init() {
@@ -40,3 +41,9 @@ func (h *Hy) Close() error {
}
return nil
}
func (h *Hy) Protocols() []string {
return []string{
"hysteria",
}
}