package
0.0.0-20230530081653-aa867a8b26de
Repository: https://github.com/matrix-org/matrix-static.git
Documentation: pkg.go.dev
# Functions
NewClient returns a Client configured by the config file found at configPath or an error if encountered.
NewMemberInfo returns a new MemberInfo with defaults (membership=leave) applied.
NewMXCURL constructs an MXCURL based on the mxc and the baseUrl to any Homeserver which can access the MXCURL.
NewRawClient returns a wrapped client with http client timeouts applied.
NewRoomState creates a RoomState with defaults applied.
ReverseEventsCopy returns a copy of the input slice with all elements in reverse order.
ShouldHideEvent returns a bool the event should be ignored in the timeline view, mimicking riot-web.
TextForRespError returns a string representation of the RespError if known, defaulting to the Err field of the RespError.
UnwrapRespError takes an error and if it is a HTTPError returns the WrappedError.RespError it contains.
# Constants
No description provided by the author
# Structs
Our Client extension adds some methods and a field expanding an MXC URL.
The struct representing the json config file format.
No description provided by the author
No description provided by the author
No description provided by the author
This is a Truncated RespInitialSync as we only need SOME information from it.
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
# Type aliases
implements sort.Interface.
No description provided by the author
implements sort.Interface.
implements sort.Interface.