Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExchangeCommandHandler ¶
type ExchangeCommandHandler struct {
// contains filtered or unexported fields
}
func NewExchangeCommandHandler ¶
func NewExchangeCommandHandler() *ExchangeCommandHandler
func (*ExchangeCommandHandler) AddPeer ¶
func (h *ExchangeCommandHandler) AddPeer(pid rp.PeerID, cmd []string)
func (*ExchangeCommandHandler) HandshakeCompleted ¶
func (h *ExchangeCommandHandler) HandshakeCompleted(pid rp.PeerID, key rp.Key)
func (*ExchangeCommandHandler) RemovePeer ¶
func (h *ExchangeCommandHandler) RemovePeer(pid rp.PeerID)
type KeyoutFileHandler ¶
type KeyoutFileHandler struct {
// contains filtered or unexported fields
}
func NewkeyoutHandler ¶
func NewkeyoutHandler() *KeyoutFileHandler
func (*KeyoutFileHandler) AddPeer ¶
func (h *KeyoutFileHandler) AddPeer(pid rp.PeerID, path string) error
func (*KeyoutFileHandler) HandshakeCompleted ¶
func (h *KeyoutFileHandler) HandshakeCompleted(pid rp.PeerID, key rp.Key)
func (*KeyoutFileHandler) HandshakeExpired ¶
func (h *KeyoutFileHandler) HandshakeExpired(pid rp.PeerID)
func (*KeyoutFileHandler) RemovePeer ¶
func (h *KeyoutFileHandler) RemovePeer(pid rp.PeerID)
type WireGuardHandler ¶
type WireGuardHandler struct {
// contains filtered or unexported fields
}
func NewWireGuardHandler ¶
func NewWireGuardHandler() (hdlr *WireGuardHandler, err error)
func (*WireGuardHandler) HandshakeCompleted ¶
func (h *WireGuardHandler) HandshakeCompleted(pid rp.PeerID, key rp.Key)
func (*WireGuardHandler) HandshakeExpired ¶
func (h *WireGuardHandler) HandshakeExpired(pid rp.PeerID)
func (*WireGuardHandler) RemovePeer ¶
func (h *WireGuardHandler) RemovePeer(pid rp.PeerID)
Click to show internal directories.
Click to hide internal directories.