Documentation ¶
Index ¶
- func SetupRouting(router *mux.Router, cfg *config.Config, db *database.Database)
- func SignED25519(r *http.Request, cfg *config.Config, db *database.Database) util.JSONResponse
- func StoreInvite(r *http.Request, cfg *config.Config, db *database.Database) util.JSONResponse
- type PublicKey
- type SignED25519Req
- type SignED25519Resp
- type StoreInviteReq
- type StoreInviteResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupRouting ¶
func SignED25519 ¶
func StoreInvite ¶
Types ¶
type SignED25519Req ¶
type SignED25519Req struct { MXID string `json:"mxid"` Token string `json:"token"` PrivateKey gomatrixserverlib.Base64String `json:"private_key"` }
type SignED25519Resp ¶
type StoreInviteReq ¶
type StoreInviteReq struct { types.ThreepidInvite RoomAlias string `json:"room_alias"` RoomAvatarURL string `json:"room_avatar_url"` RoomJoinRules string `json:"room_join_rules"` RoomName string `json:"room_name"` SenderDisplayName string `json:"sender_display_name"` SenderAvatarURL string `json:"sender_avatar_url"` PrivKeyBase64 string BaseURL string }
Click to show internal directories.
Click to hide internal directories.