types

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventIDMismatchError

type EventIDMismatchError struct {
	// The event ID we have stored in our local database.
	DatabaseID string
	// The event ID received from the room server.
	RoomServerID string
}

A EventIDMismatchError indicates that we have got out of sync with the room server.

func (EventIDMismatchError) Error

func (e EventIDMismatchError) Error() string

type JoinedHost

type JoinedHost struct {
	// The MemberEventID of a m.room.member join event.
	MemberEventID string
	// The domain part of the state key of the m.room.member join event
	ServerName gomatrixserverlib.ServerName
}

A JoinedHost is a server that is joined to a matrix room.

type ServerNames

type ServerNames []gomatrixserverlib.ServerName

func (ServerNames) Len

func (s ServerNames) Len() int

func (ServerNames) Less

func (s ServerNames) Less(i, j int) bool

func (ServerNames) Swap

func (s ServerNames) Swap(i, j int)

Jump to

Keyboard shortcuts

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