Documentation ¶
Index ¶
- type PeerLink
- func (c *PeerLink) Dispose() error
- func (c *PeerLink) HolePunchTunnel(parentCtx context.Context, holepunchClient proto.HolePunchingServiceClient) (*proto.HolePunchingCompleteResponse, error)
- func (c *PeerLink) InitializePeerConnection(Endpoint *net.UDPAddr, PublicKey wgtypes.Key, PresharedKey wgtypes.Key) error
- func (c *PeerLink) Initialized() bool
- func (c *PeerLink) PublicKey() wgtypes.Key
- func (c *PeerLink) RemoteID() uint32
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PeerLink ¶
type PeerLink struct {
// contains filtered or unexported fields
}
func NewPeerLink ¶
func (*PeerLink) HolePunchTunnel ¶
func (c *PeerLink) HolePunchTunnel( parentCtx context.Context, holepunchClient proto.HolePunchingServiceClient, ) (*proto.HolePunchingCompleteResponse, error)
func (*PeerLink) InitializePeerConnection ¶
func (*PeerLink) Initialized ¶
Click to show internal directories.
Click to hide internal directories.