Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Destination ¶
type Destination struct {
// contains filtered or unexported fields
}
func NewDestination ¶
func NewDestination(fwd model.Forward, addr string, opt model.RouteOption, direct *DirectServer, root *certc.Cert, logger *slog.Logger) (*Destination, error)
func (*Destination) RunControl ¶
func (d *Destination) RunControl(ctx context.Context, conn quic.Connection) error
func (*Destination) SetDirectAddrs ¶
func (d *Destination) SetDirectAddrs(addrs []netip.AddrPort)
type DirectServer ¶
type DirectServer struct {
// contains filtered or unexported fields
}
func NewDirectServer ¶
func NewDirectServer(transport *quic.Transport, logger *slog.Logger) (*DirectServer, error)
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
func (*Source) RunControl ¶
func (*Source) SetDirectAddrs ¶
Click to show internal directories.
Click to hide internal directories.