version

package
v1.1.62 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2026 License: AGPL-3.0 Imports: 2 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RoomVersion

RoomVersion returns information about a specific room version. An UnknownVersionError is returned if the version is not known to the server.

func RoomVersions

RoomVersions returns a map of all known room versions to this server.

func SupportedRoomVersion

func SupportedRoomVersion(version gomatrixserverlib.RoomVersion) (gomatrixserverlib.IRoomVersion, error)

SupportedRoomVersion returns information about a specific room version. An UnknownVersionError is returned if the version is not known to the server, or an UnsupportedVersionError is returned if the version is known but specifically marked as unsupported.

func SupportedRoomVersions

func SupportedRoomVersions() map[gomatrixserverlib.RoomVersion]gomatrixserverlib.IRoomVersion

SupportedRoomVersions returns a map of descriptions for room versions that are supported by this homeserver.

Types

type UnknownVersionError

type UnknownVersionError struct {
	Version gomatrixserverlib.RoomVersion
}

UnknownVersionError is caused when the room version is not known.

func (UnknownVersionError) Error

func (e UnknownVersionError) Error() string

type UnsupportedVersionError

type UnsupportedVersionError struct {
	Version gomatrixserverlib.RoomVersion
}

UnsupportedVersionError is caused when the room version is specifically marked as unsupported.

func (UnsupportedVersionError) Error

func (e UnsupportedVersionError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL