Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Command ¶
type Command int
const ( /**************roomserver api***************/ CMD_HS Command = 1000 + iota CMD_HS_SEND CMD_HS_ROOM_ALIAS CMD_HS_PROFILE CMD_HS_AVATARURL CMD_HS_DISPLAYNAME CMD_HS_INVITE CMD_HS_MAKEJOIN CMD_HS_SENDJOIN CMD_HS_NOTARY_NOTICE )
api 对应命令号,按段分配,从1000-9999
const ( // PUT /_matrix/federation/v1/send/{txnId} CMD_FED Command = 6000 + iota CMD_FED_SEND CMD_FED_ROOM_DIRECTORY CMD_FED_PROFILE CMD_FED_AVATARURL CMD_FED_DISPLAYNAME CMD_FED_INVITE CMD_FED_MAKEJOIN CMD_FED_SENDJOIN CMD_FED_ROOM_STATE CMD_FED_BACKFILL CMD_FED_GET_MISSING_EVENTS CMD_FED_NOTARY_NOTICE CMD_FED_USER_INFO CMD_FED_MAKELEAVE CMD_FED_SENDLEAVE CMD_FED_EVENT CMD_FED_STATE_IDS CMD_FED_QUERY_AUTH CMD_FED_EVENT_AUTH CMD_FED_GET_PUBLIC_ROOMS CMD_FED_POST_PUBLIC_ROOMS CMD_FED_USER_DEVICES CMD_FED_CLIENT_KEYS CMD_FED_CLIENT_KEYS_CLAIM CMD_FED_EXCHANGE_THIRD_PARTY_INVITE )
type TxnReq ¶
type TxnReq struct { // Content gomatrixserverlib.RawJSON Origin gomatrixserverlib.ServerName // gomatrixserverlib.Transaction Context context.Context }
transaction request for federation
Directories
¶
Path | Synopsis |
---|---|
Package types provides the types that are used internally within the roomserver.
|
Package types provides the types that are used internally within the roomserver. |
roomserverapi
Package api provides the types that are used to communicate with the roomserver.
|
Package api provides the types that are used to communicate with the roomserver. |
Click to show internal directories.
Click to hide internal directories.