move hop out of chain
This commit is contained in:
@ -4,7 +4,7 @@ import (
|
||||
"context"
|
||||
"net"
|
||||
|
||||
"github.com/go-gost/core/chain"
|
||||
"github.com/go-gost/core/hop"
|
||||
"github.com/go-gost/core/metadata"
|
||||
)
|
||||
|
||||
@ -14,5 +14,5 @@ type Handler interface {
|
||||
}
|
||||
|
||||
type Forwarder interface {
|
||||
Forward(chain.Hop)
|
||||
Forward(hop.Hop)
|
||||
}
|
||||
|
Reference in New Issue
Block a user