move hop out of chain

This commit is contained in:
ginuerzh
2023-09-28 21:01:25 +08:00
parent 6d0e88635b
commit b0bd45c1b8
2 changed files with 13 additions and 6 deletions

View File

@ -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)
}