package
0.0.0-20240425193236-e21c0d3a174c
Repository: https://github.com/xmtp/example-notification-server-go.git
Documentation: pkg.go.dev

# Constants

No description provided by the author
No description provided by the author

# Variables

Enum value maps for Compression.
Enum value maps for Compression.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Ciphertext represents encrypted payload.
Encryption: AES256-GCM Key derivation function: HKDF-SHA256.
No description provided by the author
Composite is used to implement xmtp.org/composite content type.
Part represents one section of a composite message.
No description provided by the author
No description provided by the author
Versioned ContactBundle.
No description provided by the author
No description provided by the author
LEGACY: User key bundle V1 using PublicKeys.
User key bundle V2 using SignedPublicKeys.
ContentTypeId is used to identify the type of content stored in a Message.
A light pointer for a conversation that contains no decryption keys.
DecodedMessage represents the decrypted message contents.
EciesMessage is a wrapper for ECIES encrypted payloads.
No description provided by the author
EncodedContent bundles the content with metadata identifying its type and parameters required for correct decoding and presentation of the content.
Versioned encrypted PrivateKeyBundle.
No description provided by the author
PrivateKeyBundle encrypted with key material generated by signing a randomly generated "pre-key" with the user's wallet, i.e.
The outer payload that will be sent as the `messageBytes` in the `trusted_data` part of the Frames message.
The message that will be signed by the Client and returned inside the `action_body` field of the FrameAction message.
Unsealed invitation V1.
Supported encryption schemes AES256-GCM-HKDF-SHA256.
No description provided by the author
The context type.
Versioned Message.
No description provided by the author
No description provided by the author
Message header is encoded separately as the bytes are also used as associated data for authenticated encryption.
Message header carries information that is not encrypted, and is therefore observable by the network.
Message is the top level protocol element.
Message combines the encoded header with the encrypted payload.
LEGACY: PrivateKey generalized to support different key types.
EC: SECP256k1.
No description provided by the author
Versioned PrivateKeyBundle.
No description provided by the author
No description provided by the author
LEGACY: PrivateKeyBundleV1 wraps the identityKey and the preKeys.
PrivateKeyBundle wraps the identityKey and the preKeys, enforces usage of signed keys.
PrivatePreferencesAction is a message used to update the client's preference store.
Allow 1:1 direct message (DM) access.
No description provided by the author
Allow Group access.
No description provided by the author
Deny (block) 1:1 direct message (DM) access.
No description provided by the author
Deny (deny) Group access.
No description provided by the author
The payload that goes over the wire.
No description provided by the author
PublicKey represents a generalized public key, defined as a union to support cryptographic algorithm agility.
The key bytes.
No description provided by the author
PublicKeyBundle packages the cryptographic keys associated with a wallet, both senders and recipients are identified by their key bundles.
Versioned Sealed Invitation.
No description provided by the author
Sealed Invitation V1 Header Header carries information that is unencrypted, thus readable by the network it is however authenticated as associated data with the AEAD scheme used to encrypt the invitation body, thus providing tamper evidence.
Sealed Invitation V1 Invitation encrypted with key material derived from the sender's and recipient's public key bundles using simplified X3DH where the sender's ephemeral key is replaced with sender's pre-key.
Signature represents a generalized public key signature, defined as a union to support cryptographic algorithm agility.
No description provided by the author
ECDSA signature bytes and the recovery bit.
No description provided by the author
ECDSA signature bytes and the recovery bit produced by xmtp-js::PublicKey.signWithWallet function, i.e.
SignedContent attaches a signature to EncodedContent.
SignedEciesCiphertext represents an ECIES encrypted payload and a signature.
Ecies is ciphertext encrypted using ECIES with a MAC.
SignedPayload is a wrapper for a signature and a payload.
PrivateKey generalized to support different key types.
EC: SECP256k1.
No description provided by the author
SignedPublicKey.
PublicKeyBundle packages the cryptographic keys associated with a wallet.
UnsignedPublicKey represents a generalized public key, defined as a union to support cryptographic algorithm agility.
EC: SECP256k1.
No description provided by the author

# Type aliases

Recognized compression algorithms protolint:disable ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH.