Versions in this module Expand all Collapse all v0 v0.0.1 Dec 12, 2021 Changes in this version + const MessageCookieReplySize + const MessageCookieReplyType + const MessageHandshakeSize + const MessageInitiationSize + const MessageInitiationType + const MessageKeepaliveSize + const MessageResponseSize + const MessageResponseType + const MessageTransportHeaderSize + const MessageTransportOffsetContent + const MessageTransportOffsetCounter + const MessageTransportOffsetReceiver + const MessageTransportSize + const MessageTransportType + const NoiseConstruction + const NoisePresharedKeySize + const NoisePrivateKeySize + const NoisePublicKeySize + const PaddingSize + const UdpRecieveSize + const WGIdentifier + const WGLabelCookie + const WGLabelMAC1 + var InitialHash [blake2s.Size]byte + var ZeroNonce [chacha20poly1305.NonceSize]byte + func UdpOneShot(payload []byte, destinationIpAddress string, destinationPort int, ...) ([]byte, error) + type Configuration struct + ClientIpAddress string + Endpoint string + PrivateKey string + PublicKey string + type CookieGenerator struct + type Handshake struct + type Keypair struct + type MessageInitiation struct + Ephemeral NoisePublicKey + MAC1 [blake2s.Size128]byte + MAC2 [blake2s.Size128]byte + Sender uint32 + Static [NoisePublicKeySize + chacha20poly1305.Overhead]byte + Timestamp [timestampSize + chacha20poly1305.Overhead]byte + Type uint32 + type MessageResponse struct + Empty [chacha20poly1305.Overhead]byte + Ephemeral NoisePublicKey + MAC1 [blake2s.Size128]byte + MAC2 [blake2s.Size128]byte + Receiver uint32 + Sender uint32 + Type uint32 + type NoisePresharedKey [NoisePresharedKeySize]byte + type NoisePrivateKey [NoisePrivateKeySize]byte + type NoisePublicKey [NoisePublicKeySize]byte + type Timestamp [timestampSize]byte