package
0.0.0-20240804114955-0ef0bc9ad37f
Repository: https://github.com/globekeeper/gomautrix.git
Documentation: pkg.go.dev

# Functions

Create a blank appservice instance.
CreateRegistration creates a Registration with random appservice and homeserver tokens.
LoadRegistration loads a YAML file and turns it into a Registration.
No description provided by the author
No description provided by the author
Respond responds to a HTTP request with a JSON object.
WriteBlankOK writes a blank OK message as a reply to a HTTP request.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
Native ErrorCodes.
Native ErrorCodes.
Custom ErrorCodes.
Native ErrorCodes.
Native ErrorCodes.
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

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
EventChannelSize is the size for the Events channel in Appservice instances.
No description provided by the author

# Structs

AppService is the main config for all appservices.
No description provided by the author
No description provided by the author
Error represents a Matrix protocol error.
No description provided by the author
No description provided by the author
HostConfig contains info about how to host the appservice.
No description provided by the author
No description provided by the author
No description provided by the author
Namespace is a reserved namespace in any area.
Namespaces contains the three areas that appservices can reserve parts of.
No description provided by the author
Registration contains the data in a Matrix appservice registration.
Transaction contains a list of events.
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

# Interfaces

QueryHandler handles room alias and user ID queries from the homeserver.
No description provided by the author

# Type aliases

No description provided by the author
ErrorCode is the machine-readable code in an Error.
No description provided by the author
EventListener is a function that receives events.
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