Versions in this module Expand all Collapse all v0 v0.0.1 Nov 17, 2023 Changes in this version + func Events(fn func(Event)) *device.Logger + type Event interface + Args func() []any + Format func() string + IsErrorf func() bool + Nice func() string + Slog func(*slog.Logger) + type EventAny struct + func (e *EventAny) Args() []any + func (e *EventAny) Format() string + func (e *EventAny) IsErrorf() bool + func (e *EventAny) Nice() string + func (e *EventAny) Slog(l *slog.Logger) + type EventAssumingDefaultMTU struct + Err error + func (*EventAssumingDefaultMTU) Format() string + func (*EventAssumingDefaultMTU) Nice() string + func (e *EventAssumingDefaultMTU) Args() []any + func (e *EventAssumingDefaultMTU) IsErrorf() bool + func (e *EventAssumingDefaultMTU) Slog(l *slog.Logger) + type EventBindCloseFailed struct + Err error + func (*EventBindCloseFailed) Format() string + func (*EventBindCloseFailed) Nice() string + func (e *EventBindCloseFailed) Args() []any + func (e *EventBindCloseFailed) IsErrorf() bool + func (e *EventBindCloseFailed) Slog(l *slog.Logger) + type EventBindUpdated struct + func (*EventBindUpdated) Format() string + func (*EventBindUpdated) Nice() string + func (e *EventBindUpdated) Args() []any + func (e *EventBindUpdated) IsErrorf() bool + func (e *EventBindUpdated) Slog(l *slog.Logger) + type EventCookieResponseInvalid struct + func (*EventCookieResponseInvalid) Format() string + func (*EventCookieResponseInvalid) Nice() string + func (e *EventCookieResponseInvalid) Args() []any + func (e *EventCookieResponseInvalid) IsErrorf() bool + func (e *EventCookieResponseInvalid) Slog(l *slog.Logger) + type EventCreateCookieReplyFailed struct + Err error + func (*EventCreateCookieReplyFailed) Format() string + func (*EventCreateCookieReplyFailed) Nice() string + func (e *EventCreateCookieReplyFailed) Args() []any + func (e *EventCreateCookieReplyFailed) IsErrorf() bool + func (e *EventCreateCookieReplyFailed) Slog(l *slog.Logger) + type EventCreateInitiationMessageFailed struct + Err error + Peer *device.Peer + func (*EventCreateInitiationMessageFailed) Format() string + func (*EventCreateInitiationMessageFailed) Nice() string + func (e *EventCreateInitiationMessageFailed) Args() []any + func (e *EventCreateInitiationMessageFailed) IsErrorf() bool + func (e *EventCreateInitiationMessageFailed) Slog(l *slog.Logger) + type EventCreateResponseMessageFailed struct + Err error + Peer *device.Peer + func (*EventCreateResponseMessageFailed) Format() string + func (*EventCreateResponseMessageFailed) Nice() string + func (e *EventCreateResponseMessageFailed) Args() []any + func (e *EventCreateResponseMessageFailed) IsErrorf() bool + func (e *EventCreateResponseMessageFailed) Slog(l *slog.Logger) + type EventDecodeCookieReplyFailed struct + func (*EventDecodeCookieReplyFailed) Format() string + func (*EventDecodeCookieReplyFailed) Nice() string + func (e *EventDecodeCookieReplyFailed) Args() []any + func (e *EventDecodeCookieReplyFailed) IsErrorf() bool + func (e *EventDecodeCookieReplyFailed) Slog(l *slog.Logger) + type EventDecryptionWorkerStopped struct + ID int + func (*EventDecryptionWorkerStopped) Format() string + func (*EventDecryptionWorkerStopped) Nice() string + func (e *EventDecryptionWorkerStopped) Args() []any + func (e *EventDecryptionWorkerStopped) IsErrorf() bool + func (e *EventDecryptionWorkerStopped) Slog(l *slog.Logger) + type EventDeriveKeypairFailed struct + Err error + Peer *device.Peer + func (*EventDeriveKeypairFailed) Format() string + func (*EventDeriveKeypairFailed) Nice() string + func (e *EventDeriveKeypairFailed) Args() []any + func (e *EventDeriveKeypairFailed) IsErrorf() bool + func (e *EventDeriveKeypairFailed) Slog(l *slog.Logger) + type EventDeviceClosed struct + func (*EventDeviceClosed) Format() string + func (*EventDeviceClosed) Nice() string + func (e *EventDeviceClosed) Args() []any + func (e *EventDeviceClosed) IsErrorf() bool + func (e *EventDeviceClosed) Slog(l *slog.Logger) + type EventDeviceClosing struct + func (*EventDeviceClosing) Format() string + func (*EventDeviceClosing) Nice() string + func (e *EventDeviceClosing) Args() []any + func (e *EventDeviceClosing) IsErrorf() bool + func (e *EventDeviceClosing) Slog(l *slog.Logger) + type EventDroppedPacketsFromMultiSegmentRead struct + Err error + func (*EventDroppedPacketsFromMultiSegmentRead) Format() string + func (*EventDroppedPacketsFromMultiSegmentRead) Nice() string + func (e *EventDroppedPacketsFromMultiSegmentRead) Args() []any + func (e *EventDroppedPacketsFromMultiSegmentRead) IsErrorf() bool + func (e *EventDroppedPacketsFromMultiSegmentRead) Slog(l *slog.Logger) + type EventEventWorkerStarted struct + func (*EventEventWorkerStarted) Format() string + func (*EventEventWorkerStarted) Nice() string + func (e *EventEventWorkerStarted) Args() []any + func (e *EventEventWorkerStarted) IsErrorf() bool + func (e *EventEventWorkerStarted) Slog(l *slog.Logger) + type EventEventWorkerStopped struct + func (*EventEventWorkerStopped) Format() string + func (*EventEventWorkerStopped) Nice() string + func (e *EventEventWorkerStopped) Args() []any + func (e *EventEventWorkerStopped) IsErrorf() bool + func (e *EventEventWorkerStopped) Slog(l *slog.Logger) + type EventHandshakeDidNotComplete struct + Attempts int + Peer *device.Peer + func (*EventHandshakeDidNotComplete) Format() string + func (*EventHandshakeDidNotComplete) Nice() string + func (e *EventHandshakeDidNotComplete) Args() []any + func (e *EventHandshakeDidNotComplete) IsErrorf() bool + func (e *EventHandshakeDidNotComplete) Slog(l *slog.Logger) + type EventHandshakeFlood struct + Peer *device.Peer + func (*EventHandshakeFlood) Format() string + func (*EventHandshakeFlood) Nice() string + func (e *EventHandshakeFlood) Args() []any + func (e *EventHandshakeFlood) IsErrorf() bool + func (e *EventHandshakeFlood) Slog(l *slog.Logger) + type EventHandshakeReplay struct + Peer *device.Peer + Timestamp tai64n.Timestamp + func (*EventHandshakeReplay) Format() string + func (*EventHandshakeReplay) Nice() string + func (e *EventHandshakeReplay) Args() []any + func (e *EventHandshakeReplay) IsErrorf() bool + func (e *EventHandshakeReplay) Slog(l *slog.Logger) + type EventHandshakeSendFailed struct + Err error + Peer *device.Peer + func (*EventHandshakeSendFailed) Format() string + func (*EventHandshakeSendFailed) Nice() string + func (e *EventHandshakeSendFailed) Args() []any + func (e *EventHandshakeSendFailed) IsErrorf() bool + func (e *EventHandshakeSendFailed) Slog(l *slog.Logger) + type EventIPv4PacketDisallowed struct + Peer *device.Peer + func (*EventIPv4PacketDisallowed) Format() string + func (*EventIPv4PacketDisallowed) Nice() string + func (e *EventIPv4PacketDisallowed) Args() []any + func (e *EventIPv4PacketDisallowed) IsErrorf() bool + func (e *EventIPv4PacketDisallowed) Slog(l *slog.Logger) + type EventIPv6PacketDisallowed struct + Peer *device.Peer + func (*EventIPv6PacketDisallowed) Format() string + func (*EventIPv6PacketDisallowed) Nice() string + func (e *EventIPv6PacketDisallowed) Args() []any + func (e *EventIPv6PacketDisallowed) IsErrorf() bool + func (e *EventIPv6PacketDisallowed) Slog(l *slog.Logger) + type EventInitiationMessageDecodeFailed struct + func (*EventInitiationMessageDecodeFailed) Format() string + func (*EventInitiationMessageDecodeFailed) Nice() string + func (e *EventInitiationMessageDecodeFailed) Args() []any + func (e *EventInitiationMessageDecodeFailed) IsErrorf() bool + func (e *EventInitiationMessageDecodeFailed) Slog(l *slog.Logger) + type EventInterfaceCloseIgnoreRequestedState struct + Want fmt.Stringer + func (*EventInterfaceCloseIgnoreRequestedState) Format() string + func (*EventInterfaceCloseIgnoreRequestedState) Nice() string + func (e *EventInterfaceCloseIgnoreRequestedState) Args() []any + func (e *EventInterfaceCloseIgnoreRequestedState) IsErrorf() bool + func (e *EventInterfaceCloseIgnoreRequestedState) Slog(l *slog.Logger) + type EventInterfaceDownRequested struct + func (*EventInterfaceDownRequested) Format() string + func (*EventInterfaceDownRequested) Nice() string + func (e *EventInterfaceDownRequested) Args() []any + func (e *EventInterfaceDownRequested) IsErrorf() bool + func (e *EventInterfaceDownRequested) Slog(l *slog.Logger) + type EventInterfaceStateChanged struct + Now fmt.Stringer + Old fmt.Stringer + Want fmt.Stringer + func (*EventInterfaceStateChanged) Format() string + func (*EventInterfaceStateChanged) Nice() string + func (e *EventInterfaceStateChanged) Args() []any + func (e *EventInterfaceStateChanged) IsErrorf() bool + func (e *EventInterfaceStateChanged) Slog(l *slog.Logger) + type EventInterfaceUpRequested struct + func (*EventInterfaceUpRequested) Format() string + func (*EventInterfaceUpRequested) Nice() string + func (e *EventInterfaceUpRequested) Args() []any + func (e *EventInterfaceUpRequested) IsErrorf() bool + func (e *EventInterfaceUpRequested) Slog(l *slog.Logger) + type EventInvalidMAC1 struct + func (*EventInvalidMAC1) Format() string + func (*EventInvalidMAC1) Nice() string + func (e *EventInvalidMAC1) Args() []any + func (e *EventInvalidMAC1) IsErrorf() bool + func (e *EventInvalidMAC1) Slog(l *slog.Logger) + type EventInvalidOperation struct + Op string + func (*EventInvalidOperation) Format() string + func (*EventInvalidOperation) Nice() string + func (e *EventInvalidOperation) Args() []any + func (e *EventInvalidOperation) IsErrorf() bool + func (e *EventInvalidOperation) Slog(l *slog.Logger) + type EventInvalidPacketInHandshakeQueue struct + func (*EventInvalidPacketInHandshakeQueue) Format() string + func (*EventInvalidPacketInHandshakeQueue) Nice() string + func (e *EventInvalidPacketInHandshakeQueue) Args() []any + func (e *EventInvalidPacketInHandshakeQueue) IsErrorf() bool + func (e *EventInvalidPacketInHandshakeQueue) Slog(l *slog.Logger) + type EventLoadMTUFailed struct + Err error + func (*EventLoadMTUFailed) Format() string + func (*EventLoadMTUFailed) Nice() string + func (e *EventLoadMTUFailed) Args() []any + func (e *EventLoadMTUFailed) IsErrorf() bool + func (e *EventLoadMTUFailed) Slog(l *slog.Logger) + type EventMTUTooLarge struct + Cap int + MTU int + func (*EventMTUTooLarge) Format() string + func (*EventMTUTooLarge) Nice() string + func (e *EventMTUTooLarge) Args() []any + func (e *EventMTUTooLarge) IsErrorf() bool + func (e *EventMTUTooLarge) Slog(l *slog.Logger) + type EventMTUUpdated struct + MTU int + func (*EventMTUUpdated) Format() string + func (*EventMTUUpdated) Nice() string + func (e *EventMTUUpdated) Args() []any + func (e *EventMTUUpdated) IsErrorf() bool + func (e *EventMTUUpdated) Slog(l *slog.Logger) + type EventMessageUnknownType struct + func (*EventMessageUnknownType) Format() string + func (*EventMessageUnknownType) Nice() string + func (e *EventMessageUnknownType) Args() []any + func (e *EventMessageUnknownType) IsErrorf() bool + func (e *EventMessageUnknownType) Slog(l *slog.Logger) + type EventNegativeMTU struct + MTU int + func (*EventNegativeMTU) Format() string + func (*EventNegativeMTU) Nice() string + func (e *EventNegativeMTU) Args() []any + func (e *EventNegativeMTU) IsErrorf() bool + func (e *EventNegativeMTU) Slog(l *slog.Logger) + type EventPacketDataSendFailed struct + Err error + Peer *device.Peer + func (*EventPacketDataSendFailed) Format() string + func (*EventPacketDataSendFailed) Nice() string + func (e *EventPacketDataSendFailed) Args() []any + func (e *EventPacketDataSendFailed) IsErrorf() bool + func (e *EventPacketDataSendFailed) Slog(l *slog.Logger) + type EventPacketIPVersionInvalid struct + Peer *device.Peer + func (*EventPacketIPVersionInvalid) Format() string + func (*EventPacketIPVersionInvalid) Nice() string + func (e *EventPacketIPVersionInvalid) Args() []any + func (e *EventPacketIPVersionInvalid) IsErrorf() bool + func (e *EventPacketIPVersionInvalid) Slog(l *slog.Logger) + type EventPacketIPVersionUnknown struct + func (*EventPacketIPVersionUnknown) Format() string + func (*EventPacketIPVersionUnknown) Nice() string + func (e *EventPacketIPVersionUnknown) Args() []any + func (e *EventPacketIPVersionUnknown) IsErrorf() bool + func (e *EventPacketIPVersionUnknown) Slog(l *slog.Logger) + type EventPacketReceiveFailed struct + Err error + RecvName string + func (*EventPacketReceiveFailed) Format() string + func (*EventPacketReceiveFailed) Nice() string + func (e *EventPacketReceiveFailed) Args() []any + func (e *EventPacketReceiveFailed) IsErrorf() bool + func (e *EventPacketReceiveFailed) Slog(l *slog.Logger) + type EventPeerStarting struct + Peer *device.Peer + func (*EventPeerStarting) Format() string + func (*EventPeerStarting) Nice() string + func (e *EventPeerStarting) Args() []any + func (e *EventPeerStarting) IsErrorf() bool + func (e *EventPeerStarting) Slog(l *slog.Logger) + type EventPeerStopping struct + Peer *device.Peer + func (*EventPeerStopping) Format() string + func (*EventPeerStopping) Nice() string + func (e *EventPeerStopping) Args() []any + func (e *EventPeerStopping) IsErrorf() bool + func (e *EventPeerStopping) Slog(l *slog.Logger) + type EventReceivedHandshakeInitiation struct + Peer *device.Peer + func (*EventReceivedHandshakeInitiation) Format() string + func (*EventReceivedHandshakeInitiation) Nice() string + func (e *EventReceivedHandshakeInitiation) Args() []any + func (e *EventReceivedHandshakeInitiation) IsErrorf() bool + func (e *EventReceivedHandshakeInitiation) Slog(l *slog.Logger) + type EventReceivedHandshakeResponse struct + Peer *device.Peer + func (*EventReceivedHandshakeResponse) Format() string + func (*EventReceivedHandshakeResponse) Nice() string + func (e *EventReceivedHandshakeResponse) Args() []any + func (e *EventReceivedHandshakeResponse) IsErrorf() bool + func (e *EventReceivedHandshakeResponse) Slog(l *slog.Logger) + type EventReceivedInvalidInitiation struct + Destination string + func (*EventReceivedInvalidInitiation) Format() string + func (*EventReceivedInvalidInitiation) Nice() string + func (e *EventReceivedInvalidInitiation) Args() []any + func (e *EventReceivedInvalidInitiation) IsErrorf() bool + func (e *EventReceivedInvalidInitiation) Slog(l *slog.Logger) + type EventReceivedInvalidResponse struct + Destination string + func (*EventReceivedInvalidResponse) Format() string + func (*EventReceivedInvalidResponse) Nice() string + func (e *EventReceivedInvalidResponse) Args() []any + func (e *EventReceivedInvalidResponse) IsErrorf() bool + func (e *EventReceivedInvalidResponse) Slog(l *slog.Logger) + type EventReceivingCookieResponse struct + Destination string + func (*EventReceivingCookieResponse) Format() string + func (*EventReceivingCookieResponse) Nice() string + func (e *EventReceivingCookieResponse) Args() []any + func (e *EventReceivingCookieResponse) IsErrorf() bool + func (e *EventReceivingCookieResponse) Slog(l *slog.Logger) + type EventReceivingKeepalivePacket struct + Peer *device.Peer + func (*EventReceivingKeepalivePacket) Format() string + func (*EventReceivingKeepalivePacket) Nice() string + func (e *EventReceivingKeepalivePacket) Args() []any + func (e *EventReceivingKeepalivePacket) IsErrorf() bool + func (e *EventReceivingKeepalivePacket) Slog(l *slog.Logger) + type EventRemovingAllKeys struct + Peer *device.Peer + Timeout int + func (*EventRemovingAllKeys) Format() string + func (*EventRemovingAllKeys) Nice() string + func (e *EventRemovingAllKeys) Args() []any + func (e *EventRemovingAllKeys) IsErrorf() bool + func (e *EventRemovingAllKeys) Slog(l *slog.Logger) + type EventResponseMessageDecodeFailed struct + func (*EventResponseMessageDecodeFailed) Format() string + func (*EventResponseMessageDecodeFailed) Nice() string + func (e *EventResponseMessageDecodeFailed) Args() []any + func (e *EventResponseMessageDecodeFailed) IsErrorf() bool + func (e *EventResponseMessageDecodeFailed) Slog(l *slog.Logger) + type EventRetryingHandshake struct + Peer *device.Peer + Timeout int + Try uint32 + func (*EventRetryingHandshake) Format() string + func (*EventRetryingHandshake) Nice() string + func (e *EventRetryingHandshake) Args() []any + func (e *EventRetryingHandshake) IsErrorf() bool + func (e *EventRetryingHandshake) Slog(l *slog.Logger) + type EventRetryingHandshakeNoResponse struct + Peer *device.Peer + Timeout int + func (*EventRetryingHandshakeNoResponse) Format() string + func (*EventRetryingHandshakeNoResponse) Nice() string + func (e *EventRetryingHandshakeNoResponse) Args() []any + func (e *EventRetryingHandshakeNoResponse) IsErrorf() bool + func (e *EventRetryingHandshakeNoResponse) Slog(l *slog.Logger) + type EventSendCookieDenied struct + Destination string + func (*EventSendCookieDenied) Format() string + func (*EventSendCookieDenied) Nice() string + func (e *EventSendCookieDenied) Args() []any + func (e *EventSendCookieDenied) IsErrorf() bool + func (e *EventSendCookieDenied) Slog(l *slog.Logger) + type EventSendHandshakeInitiationFailed struct + Err error + Peer *device.Peer + func (*EventSendHandshakeInitiationFailed) Format() string + func (*EventSendHandshakeInitiationFailed) Nice() string + func (e *EventSendHandshakeInitiationFailed) Args() []any + func (e *EventSendHandshakeInitiationFailed) IsErrorf() bool + func (e *EventSendHandshakeInitiationFailed) Slog(l *slog.Logger) + type EventSendingHandshakeInitiation struct + Peer *device.Peer + func (*EventSendingHandshakeInitiation) Format() string + func (*EventSendingHandshakeInitiation) Nice() string + func (e *EventSendingHandshakeInitiation) Args() []any + func (e *EventSendingHandshakeInitiation) IsErrorf() bool + func (e *EventSendingHandshakeInitiation) Slog(l *slog.Logger) + type EventSendingHandshakeResponse struct + Peer *device.Peer + func (*EventSendingHandshakeResponse) Format() string + func (*EventSendingHandshakeResponse) Nice() string + func (e *EventSendingHandshakeResponse) Args() []any + func (e *EventSendingHandshakeResponse) IsErrorf() bool + func (e *EventSendingHandshakeResponse) Slog(l *slog.Logger) + type EventSendingKeepalivePacket struct + Peer *device.Peer + func (*EventSendingKeepalivePacket) Format() string + func (*EventSendingKeepalivePacket) Nice() string + func (e *EventSendingKeepalivePacket) Args() []any + func (e *EventSendingKeepalivePacket) IsErrorf() bool + func (e *EventSendingKeepalivePacket) Slog(l *slog.Logger) + type EventSequentialReaderStopped struct + Peer *device.Peer + func (*EventSequentialReaderStopped) Format() string + func (*EventSequentialReaderStopped) Nice() string + func (e *EventSequentialReaderStopped) Args() []any + func (e *EventSequentialReaderStopped) IsErrorf() bool + func (e *EventSequentialReaderStopped) Slog(l *slog.Logger) + type EventSequentialReceiverStarted struct + Peer *device.Peer + func (*EventSequentialReceiverStarted) Format() string + func (*EventSequentialReceiverStarted) Nice() string + func (e *EventSequentialReceiverStarted) Args() []any + func (e *EventSequentialReceiverStarted) IsErrorf() bool + func (e *EventSequentialReceiverStarted) Slog(l *slog.Logger) + type EventSequentialReceiverStopped struct + Peer *device.Peer + func (*EventSequentialReceiverStopped) Format() string + func (*EventSequentialReceiverStopped) Nice() string + func (e *EventSequentialReceiverStopped) Args() []any + func (e *EventSequentialReceiverStopped) IsErrorf() bool + func (e *EventSequentialReceiverStopped) Slog(l *slog.Logger) + type EventSequentialSenderStarted struct + Peer *device.Peer + func (*EventSequentialSenderStarted) Format() string + func (*EventSequentialSenderStarted) Nice() string + func (e *EventSequentialSenderStarted) Args() []any + func (e *EventSequentialSenderStarted) IsErrorf() bool + func (e *EventSequentialSenderStarted) Slog(l *slog.Logger) + type EventStartedDecryptionWorker struct + ID int + func (*EventStartedDecryptionWorker) Format() string + func (*EventStartedDecryptionWorker) Nice() string + func (e *EventStartedDecryptionWorker) Args() []any + func (e *EventStartedDecryptionWorker) IsErrorf() bool + func (e *EventStartedDecryptionWorker) Slog(l *slog.Logger) + type EventStartedEncryptionWorker struct + ID int + func (*EventStartedEncryptionWorker) Format() string + func (*EventStartedEncryptionWorker) Nice() string + func (e *EventStartedEncryptionWorker) Args() []any + func (e *EventStartedEncryptionWorker) IsErrorf() bool + func (e *EventStartedEncryptionWorker) Slog(l *slog.Logger) + type EventStartedHandshakeWorker struct + ID int + func (*EventStartedHandshakeWorker) Format() string + func (*EventStartedHandshakeWorker) Nice() string + func (e *EventStartedHandshakeWorker) Args() []any + func (e *EventStartedHandshakeWorker) IsErrorf() bool + func (e *EventStartedHandshakeWorker) Slog(l *slog.Logger) + type EventStartedReceivingIncoming struct + RecvName string + func (*EventStartedReceivingIncoming) Format() string + func (*EventStartedReceivingIncoming) Nice() string + func (e *EventStartedReceivingIncoming) Args() []any + func (e *EventStartedReceivingIncoming) IsErrorf() bool + func (e *EventStartedReceivingIncoming) Slog(l *slog.Logger) + type EventStoppedEncryptionWorker struct + ID int + func (*EventStoppedEncryptionWorker) Format() string + func (*EventStoppedEncryptionWorker) Nice() string + func (e *EventStoppedEncryptionWorker) Args() []any + func (e *EventStoppedEncryptionWorker) IsErrorf() bool + func (e *EventStoppedEncryptionWorker) Slog(l *slog.Logger) + type EventStoppedHandshakeWorker struct + ID int + func (*EventStoppedHandshakeWorker) Format() string + func (*EventStoppedHandshakeWorker) Nice() string + func (e *EventStoppedHandshakeWorker) Args() []any + func (e *EventStoppedHandshakeWorker) IsErrorf() bool + func (e *EventStoppedHandshakeWorker) Slog(l *slog.Logger) + type EventStoppedReceivingIncoming struct + RecvName string + func (*EventStoppedReceivingIncoming) Format() string + func (*EventStoppedReceivingIncoming) Nice() string + func (e *EventStoppedReceivingIncoming) Args() []any + func (e *EventStoppedReceivingIncoming) IsErrorf() bool + func (e *EventStoppedReceivingIncoming) Slog(l *slog.Logger) + type EventTUNReaderStarted struct + func (*EventTUNReaderStarted) Format() string + func (*EventTUNReaderStarted) Nice() string + func (e *EventTUNReaderStarted) Args() []any + func (e *EventTUNReaderStarted) IsErrorf() bool + func (e *EventTUNReaderStarted) Slog(l *slog.Logger) + type EventTUNReaderStopped struct + func (*EventTUNReaderStopped) Format() string + func (*EventTUNReaderStopped) Nice() string + func (e *EventTUNReaderStopped) Args() []any + func (e *EventTUNReaderStopped) IsErrorf() bool + func (e *EventTUNReaderStopped) Slog(l *slog.Logger) + type EventTUNWriteFailed struct + Err error + func (*EventTUNWriteFailed) Format() string + func (*EventTUNWriteFailed) Nice() string + func (e *EventTUNWriteFailed) Args() []any + func (e *EventTUNWriteFailed) IsErrorf() bool + func (e *EventTUNWriteFailed) Slog(l *slog.Logger) + type EventTunPacketReadFailed struct + Err error + func (*EventTunPacketReadFailed) Format() string + func (*EventTunPacketReadFailed) Nice() string + func (e *EventTunPacketReadFailed) Args() []any + func (e *EventTunPacketReadFailed) IsErrorf() bool + func (e *EventTunPacketReadFailed) Slog(l *slog.Logger) + type EventUAPIAddingAllowedIP struct + Peer *device.Peer + func (*EventUAPIAddingAllowedIP) Format() string + func (*EventUAPIAddingAllowedIP) Nice() string + func (e *EventUAPIAddingAllowedIP) Args() []any + func (e *EventUAPIAddingAllowedIP) IsErrorf() bool + func (e *EventUAPIAddingAllowedIP) Slog(l *slog.Logger) + type EventUAPICreated struct + Peer *device.Peer + func (*EventUAPICreated) Format() string + func (*EventUAPICreated) Nice() string + func (e *EventUAPICreated) Args() []any + func (e *EventUAPICreated) IsErrorf() bool + func (e *EventUAPICreated) Slog(l *slog.Logger) + type EventUAPIRemovingAllAllowedIPs struct + Peer *device.Peer + func (*EventUAPIRemovingAllAllowedIPs) Format() string + func (*EventUAPIRemovingAllAllowedIPs) Nice() string + func (e *EventUAPIRemovingAllAllowedIPs) Args() []any + func (e *EventUAPIRemovingAllAllowedIPs) IsErrorf() bool + func (e *EventUAPIRemovingAllAllowedIPs) Slog(l *slog.Logger) + type EventUAPIRemovingAllPeers struct + func (*EventUAPIRemovingAllPeers) Format() string + func (*EventUAPIRemovingAllPeers) Nice() string + func (e *EventUAPIRemovingAllPeers) Args() []any + func (e *EventUAPIRemovingAllPeers) IsErrorf() bool + func (e *EventUAPIRemovingAllPeers) Slog(l *slog.Logger) + type EventUAPIRemovingPeer struct + Peer *device.Peer + func (*EventUAPIRemovingPeer) Format() string + func (*EventUAPIRemovingPeer) Nice() string + func (e *EventUAPIRemovingPeer) Args() []any + func (e *EventUAPIRemovingPeer) IsErrorf() bool + func (e *EventUAPIRemovingPeer) Slog(l *slog.Logger) + type EventUAPIUpdatingEndpoint struct + Peer *device.Peer + func (*EventUAPIUpdatingEndpoint) Format() string + func (*EventUAPIUpdatingEndpoint) Nice() string + func (e *EventUAPIUpdatingEndpoint) Args() []any + func (e *EventUAPIUpdatingEndpoint) IsErrorf() bool + func (e *EventUAPIUpdatingEndpoint) Slog(l *slog.Logger) + type EventUAPIUpdatingFWMark struct + func (*EventUAPIUpdatingFWMark) Format() string + func (*EventUAPIUpdatingFWMark) Nice() string + func (e *EventUAPIUpdatingFWMark) Args() []any + func (e *EventUAPIUpdatingFWMark) IsErrorf() bool + func (e *EventUAPIUpdatingFWMark) Slog(l *slog.Logger) + type EventUAPIUpdatingListenPort struct + func (*EventUAPIUpdatingListenPort) Format() string + func (*EventUAPIUpdatingListenPort) Nice() string + func (e *EventUAPIUpdatingListenPort) Args() []any + func (e *EventUAPIUpdatingListenPort) IsErrorf() bool + func (e *EventUAPIUpdatingListenPort) Slog(l *slog.Logger) + type EventUAPIUpdatingPersistentKeepalive struct + Peer *device.Peer + func (*EventUAPIUpdatingPersistentKeepalive) Format() string + func (*EventUAPIUpdatingPersistentKeepalive) Nice() string + func (e *EventUAPIUpdatingPersistentKeepalive) Args() []any + func (e *EventUAPIUpdatingPersistentKeepalive) IsErrorf() bool + func (e *EventUAPIUpdatingPersistentKeepalive) Slog(l *slog.Logger) + type EventUAPIUpdatingPresharedKey struct + Peer *device.Peer + func (*EventUAPIUpdatingPresharedKey) Format() string + func (*EventUAPIUpdatingPresharedKey) Nice() string + func (e *EventUAPIUpdatingPresharedKey) Args() []any + func (e *EventUAPIUpdatingPresharedKey) IsErrorf() bool + func (e *EventUAPIUpdatingPresharedKey) Slog(l *slog.Logger) + type EventUAPIUpdatingPrivateKey struct + func (*EventUAPIUpdatingPrivateKey) Format() string + func (*EventUAPIUpdatingPrivateKey) Nice() string + func (e *EventUAPIUpdatingPrivateKey) Args() []any + func (e *EventUAPIUpdatingPrivateKey) IsErrorf() bool + func (e *EventUAPIUpdatingPrivateKey) Slog(l *slog.Logger) + type EventUDPGSODisabled struct + OnLAddr string + func (*EventUDPGSODisabled) Format() string + func (*EventUDPGSODisabled) Nice() string + func (e *EventUDPGSODisabled) Args() []any + func (e *EventUDPGSODisabled) IsErrorf() bool + func (e *EventUDPGSODisabled) Slog(l *slog.Logger) + type EventUpdateBind struct + Err error + func (*EventUpdateBind) Format() string + func (*EventUpdateBind) Nice() string + func (e *EventUpdateBind) Args() []any + func (e *EventUpdateBind) IsErrorf() bool + func (e *EventUpdateBind) Slog(l *slog.Logger) + type EventValue struct + Err error + func (*EventValue) Format() string + func (*EventValue) Nice() string + func (e *EventValue) Args() []any + func (e *EventValue) IsErrorf() bool + func (e *EventValue) Slog(l *slog.Logger) + type Parser interface + ParseUDPGSODisabled func(*EventUDPGSODisabled, string, ...any) bool