roomservertypes

package
v0.0.0-...-9835270 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: AGPL-3.0, Apache-2.0, MIT Imports: 0 Imported by: 0

Documentation

Overview

Package types provides the types that are used internally within the roomserver.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventNID

type EventNID int64

EventNID is a numeric ID for an event.

type EventStateKeyNID

type EventStateKeyNID int64

EventStateKeyNID is a numeric ID for an event state_key.

type EventTypeNID

type EventTypeNID int64

EventTypeNID is a numeric ID for an event type.

type MembershipState

type MembershipState int64
const (
	MembershipStateLeaveOrBan MembershipState = 1
	MembershipStateInvite     MembershipState = 2
	MembershipStateJoin       MembershipState = 3
	MembershipStateBan        MembershipState = 4
	MembershipStateUnban      MembershipState = 5
)

type RoomNID

type RoomNID int64

RoomNID is a numeric ID for a room.

type RoomNIDs

type RoomNIDs struct {
	RoomID  string
	RoomNID int64
}

type TransactionID

type TransactionID struct {
	DeviceID      string `json:"device_id"`
	TransactionID string `json:"id"`
	IP            string `json:"ip"`
}

Jump to

Keyboard shortcuts

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