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)
func (*Destination) Status ¶ added in v0.4.0
func (d *Destination) Status() (PeerStatus, error)
type DirectServer ¶
type DirectServer struct {
// contains filtered or unexported fields
}
func NewDirectServer ¶
type PeerConnection ¶ added in v0.4.0
type PeerStatus ¶ added in v0.4.0
type PeerStatus struct {
Relays []string `json:"relays"`
Connections []PeerConnection `json:"connections"`
}
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
func (*Source) RunControl ¶
func (*Source) SetDirectAddrs ¶
func (*Source) Status ¶ added in v0.4.0
func (s *Source) Status() (PeerStatus, error)
Click to show internal directories.
Click to hide internal directories.