package
0.0.0-20240804114955-0ef0bc9ad37f
Repository: https://github.com/globekeeper/gomautrix.git
Documentation: pkg.go.dev
# Functions
DecodeUserLocalpart decodes the given string back into the original input string.
EncodeUserLocalpart encodes the given string into Matrix-compliant user ID localpart form.
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
ParseContentURI parses a Matrix content URI.
No description provided by the author
ParseMatrixToURL parses a matrix.to URL into the same container as ParseMatrixURI parses matrix: URIs.
ParseMatrixURI implements the matrix: URI parsing algorithm.
ParseMatrixURIOrMatrixToURL parses the given matrix.to URL or matrix: URI into a unified representation.
No description provided by the author
ProcessMatrixToURL is the equivalent of ProcessMatrixURI for matrix.to URLs.
ProcessMatrixURI implements steps 2-7 of the matrix: URI parsing algorithm (i.e.
ValidateUserLocalpart validates a Matrix user ID localpart using the grammar in https://matrix.org/docs/spec/appendices#user-identifier.
# Constants
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
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
# Variables
Errors that can happen when parsing matrix: URIs.
No description provided by the author
Errors that can happen when parsing matrix.to URLs.
Errors that can happen when parsing matrix: URIs.
Errors that can happen when parsing matrix: URIs.
Errors that can happen when parsing matrix.to URLs.
Errors that can happen when parsing matrix.to URLs.
Errors that can happen when parsing matrix.to URLs.
Errors that can happen when parsing matrix: URIs.
Errors that can happen when parsing matrix: URIs.
Errors that can happen when parsing matrix: URIs.
No description provided by the author
No description provided by the author
Errors that can happen when parsing matrix.to URLs.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SigilToPathSegment contains a mapping from Matrix identifier sigils to matrix: URI path segments.
No description provided by the author
# Structs
ContentURI represents a Matrix content URI.
No description provided by the author
Device contains the identity details of a device and some additional info.
MatrixURI contains the result of parsing a matrix: URI using ParseMatrixURI.
# Type aliases
Algorithm is a Matrix message encryption algorithm.
A BatchID is a string identifying a batch of events being backfilled to a room.
ContentURIString is a string that's expected to be a Matrix content URI.
No description provided by the author
Curve25519 is the base64 representation of an Curve25519 public key.
A DeviceID is an arbitrary string that references a specific device.
A DeviceKeyID is a string formatted as <algorithm>:<device_id> that is used as the key in deviceid-key mappings.
Ed25519 is the base64 representation of an Ed25519 public key.
An EventID is a string starting with $ that references a specific event.
No description provided by the author
No description provided by the author
A KeyID a string formatted as <keyalgorithm>:<key_id> that is used as the key in one-time-key mappings.
OlmMsgType is an Olm message type.
A RoomAlias is a string starting with # that can be resolved into.
A RoomID is a string starting with ! that references a specific room.
No description provided by the author
A SessionID is an arbitrary string that identifies an Olm or Megolm session.
No description provided by the author
TrustState determines how trusted a device is.
UserID represents a Matrix user ID.