Versions in this module Expand all Collapse all v0 v0.4.0 Sep 1, 2023 v0.3.1 Aug 30, 2023 Changes in this version + type ExchangeCommandHandler struct + func NewExchangeCommandHandler() *ExchangeCommandHandler + func (h *ExchangeCommandHandler) AddPeer(pid rp.PeerID, cmd []string) + func (h *ExchangeCommandHandler) HandshakeCompleted(pid rp.PeerID, key rp.Key) + func (h *ExchangeCommandHandler) RemovePeer(pid rp.PeerID) + type KeyoutFileHandler struct + func NewkeyoutHandler() *KeyoutFileHandler + func (h *KeyoutFileHandler) AddPeer(pid rp.PeerID, path string) error + func (h *KeyoutFileHandler) HandshakeCompleted(pid rp.PeerID, key rp.Key) + func (h *KeyoutFileHandler) HandshakeExpired(pid rp.PeerID) + func (h *KeyoutFileHandler) RemovePeer(pid rp.PeerID) + type WireGuardHandler struct + func NewWireGuardHandler() (hdlr *WireGuardHandler, err error) + func (h *WireGuardHandler) AddPeer(pid rp.PeerID, intf string, pk rp.Key) + func (h *WireGuardHandler) HandshakeCompleted(pid rp.PeerID, key rp.Key) + func (h *WireGuardHandler) HandshakeExpired(pid rp.PeerID) + func (h *WireGuardHandler) RemovePeer(pid rp.PeerID)