merge ss and ssu

This commit is contained in:
ginuerzh
2021-11-12 16:44:31 +08:00
parent cae199dbd9
commit 3fe5084629
26 changed files with 545 additions and 393 deletions

View File

@ -4,6 +4,7 @@ import (
"context"
"net"
"github.com/go-gost/gost/pkg/chain"
"github.com/go-gost/gost/pkg/metadata"
)
@ -11,3 +12,7 @@ type Handler interface {
Init(metadata.Metadata) error
Handle(context.Context, net.Conn)
}
type Forwarder interface {
Forward(*chain.NodeGroup)
}