api

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 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const ProxyMediaAPITopic = "proxyMediaApi"

Variables

This section is empty.

Functions

This section is empty.

Types

type FedApiUserData

type FedApiUserData struct {
	Request    *gomatrixserverlib.FederationRequest
	Idg        *uid.UidGenerator
	Cfg        *config.Dendrite
	RpcCli     roomserverapi.RoomserverRPCAPI
	CacheIn    service.Cache
	KeyDB      dmodel.KeyDatabase
	LocalCache service.LocalCache
	Origin     string
}

type ReqGetEvent

type ReqGetEvent struct{}

func (ReqGetEvent) FillRequest

func (ReqGetEvent) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error

func (ReqGetEvent) GetAPIType

func (ReqGetEvent) GetAPIType() int8

func (ReqGetEvent) GetMethod

func (ReqGetEvent) GetMethod() []string

func (ReqGetEvent) GetMetricsName

func (ReqGetEvent) GetMetricsName() string

func (ReqGetEvent) GetMsgType

func (ReqGetEvent) GetMsgType() int32

func (ReqGetEvent) GetPrefix

func (ReqGetEvent) GetPrefix() []string

func (ReqGetEvent) GetRoute

func (ReqGetEvent) GetRoute() string

func (ReqGetEvent) GetTopic

func (ReqGetEvent) GetTopic(cfg *config.Dendrite) string

func (ReqGetEvent) NewRequest

func (ReqGetEvent) NewRequest() core.Coder

func (ReqGetEvent) NewResponse

func (ReqGetEvent) NewResponse(code int) core.Coder

func (ReqGetEvent) Process

func (ReqGetEvent) Process(ctx context.Context, ud interface{}, msg core.Coder, device *authtypes.Device) (int, core.Coder)

type ReqGetEventAuth

type ReqGetEventAuth struct{}

func (ReqGetEventAuth) FillRequest

func (ReqGetEventAuth) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error

func (ReqGetEventAuth) GetAPIType

func (ReqGetEventAuth) GetAPIType() int8

func (ReqGetEventAuth) GetMethod

func (ReqGetEventAuth) GetMethod() []string

func (ReqGetEventAuth) GetMetricsName

func (ReqGetEventAuth) GetMetricsName() string

func (ReqGetEventAuth) GetMsgType

func (ReqGetEventAuth) GetMsgType() int32

func (ReqGetEventAuth) GetPrefix

func (ReqGetEventAuth) GetPrefix() []string

func (ReqGetEventAuth) GetRoute

func (ReqGetEventAuth) GetRoute() string

func (ReqGetEventAuth) GetTopic

func (ReqGetEventAuth) GetTopic(cfg *config.Dendrite) string

func (ReqGetEventAuth) NewRequest

func (ReqGetEventAuth) NewRequest() core.Coder

func (ReqGetEventAuth) NewResponse

func (ReqGetEventAuth) NewResponse(code int) core.Coder

func (ReqGetEventAuth) Process

func (ReqGetEventAuth) Process(ctx context.Context, ud interface{}, msg core.Coder, device *authtypes.Device) (int, core.Coder)

type ReqGetFedBackfill

type ReqGetFedBackfill struct{}

func (ReqGetFedBackfill) FillRequest

func (ReqGetFedBackfill) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error

func (ReqGetFedBackfill) GetAPIType

func (ReqGetFedBackfill) GetAPIType() int8

func (ReqGetFedBackfill) GetMethod

func (ReqGetFedBackfill) GetMethod() []string

func (ReqGetFedBackfill) GetMetricsName

func (ReqGetFedBackfill) GetMetricsName() string

func (ReqGetFedBackfill) GetMsgType

func (ReqGetFedBackfill) GetMsgType() int32

func (ReqGetFedBackfill) GetPrefix

func (ReqGetFedBackfill) GetPrefix() []string

func (ReqGetFedBackfill) GetRoute

func (ReqGetFedBackfill) GetRoute() string

func (ReqGetFedBackfill) GetTopic

func (ReqGetFedBackfill) GetTopic(cfg *config.Dendrite) string

func (ReqGetFedBackfill) NewRequest

func (ReqGetFedBackfill) NewRequest() core.Coder

func (ReqGetFedBackfill) NewResponse

func (ReqGetFedBackfill) NewResponse(code int) core.Coder

func (ReqGetFedBackfill) Process

func (ReqGetFedBackfill) Process(ctx context.Context, ud interface{}, msg core.Coder, device *authtypes.Device) (int, core.Coder)

type ReqGetFedBackfillRequest

type ReqGetFedBackfillRequest struct {
	RoomID string `json:"roomID"`
	V      string `json:"v"`
	Limit  string `json:"limit"`
	Dir    string `json:"dir"`
	Domain string `json:"domain"`
}

func (*ReqGetFedBackfillRequest) Decode

func (r *ReqGetFedBackfillRequest) Decode(input []byte) error

func (*ReqGetFedBackfillRequest) Encode

func (r *ReqGetFedBackfillRequest) Encode() ([]byte, error)

type ReqGetFedBackfillResponse

type ReqGetFedBackfillResponse roomserverapi.QueryBackFillEventsResponse

type ReqGetFedBackfillResponse gomatrixserverlib.Transaction

func (*ReqGetFedBackfillResponse) Decode

func (r *ReqGetFedBackfillResponse) Decode(input []byte) error

func (*ReqGetFedBackfillResponse) Encode

func (r *ReqGetFedBackfillResponse) Encode() ([]byte, error)

type ReqGetFedDirectory

type ReqGetFedDirectory struct{}

func (ReqGetFedDirectory) FillRequest

func (ReqGetFedDirectory) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error

func (ReqGetFedDirectory) GetAPIType

func (ReqGetFedDirectory) GetAPIType() int8

func (ReqGetFedDirectory) GetMethod

func (ReqGetFedDirectory) GetMethod() []string

func (ReqGetFedDirectory) GetMetricsName

func (ReqGetFedDirectory) GetMetricsName() string

func (ReqGetFedDirectory) GetMsgType

func (ReqGetFedDirectory) GetMsgType() int32

func (ReqGetFedDirectory) GetPrefix

func (ReqGetFedDirectory) GetPrefix() []string

func (ReqGetFedDirectory) GetRoute

func (ReqGetFedDirectory) GetRoute() string

func (ReqGetFedDirectory) GetTopic

func (ReqGetFedDirectory) GetTopic(cfg *config.Dendrite) string

func (ReqGetFedDirectory) NewRequest

func (ReqGetFedDirectory) NewRequest() core.Coder

func (ReqGetFedDirectory) NewResponse

func (ReqGetFedDirectory) NewResponse(code int) core.Coder

func (ReqGetFedDirectory) Process

func (ReqGetFedDirectory) Process(ctx context.Context, ud interface{}, msg core.Coder, device *authtypes.Device) (int, core.Coder)

type ReqGetFedMediaDownload

type ReqGetFedMediaDownload struct{}

func (ReqGetFedMediaDownload) FillRequest

func (ReqGetFedMediaDownload) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error

func (ReqGetFedMediaDownload) GetAPIType

func (ReqGetFedMediaDownload) GetAPIType() int8

func (ReqGetFedMediaDownload) GetMethod

func (ReqGetFedMediaDownload) GetMethod() []string

func (ReqGetFedMediaDownload) GetMetricsName

func (ReqGetFedMediaDownload) GetMetricsName() string

func (ReqGetFedMediaDownload) GetMsgType

func (ReqGetFedMediaDownload) GetMsgType() int32

func (ReqGetFedMediaDownload) GetPrefix

func (ReqGetFedMediaDownload) GetPrefix() []string

func (ReqGetFedMediaDownload) GetRoute

func (ReqGetFedMediaDownload) GetRoute() string

func (ReqGetFedMediaDownload) GetTopic

func (ReqGetFedMediaDownload) NewRequest

func (ReqGetFedMediaDownload) NewRequest() core.Coder

func (ReqGetFedMediaDownload) NewResponse

func (ReqGetFedMediaDownload) NewResponse(code int) core.Coder

func (ReqGetFedMediaDownload) Process

func (ReqGetFedMediaDownload) Process(ctx context.Context, ud interface{}, msg core.Coder, device *authtypes.Device) (int, core.Coder)

type ReqGetFedMediaInfo

type ReqGetFedMediaInfo struct{}

func (ReqGetFedMediaInfo) FillRequest

func (ReqGetFedMediaInfo) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error

func (ReqGetFedMediaInfo) GetAPIType

func (ReqGetFedMediaInfo) GetAPIType() int8

func (ReqGetFedMediaInfo) GetMethod

func (ReqGetFedMediaInfo) GetMethod() []string

func (ReqGetFedMediaInfo) GetMetricsName

func (ReqGetFedMediaInfo) GetMetricsName() string

func (ReqGetFedMediaInfo) GetMsgType

func (ReqGetFedMediaInfo) GetMsgType() int32

func (ReqGetFedMediaInfo) GetPrefix

func (ReqGetFedMediaInfo) GetPrefix() []string

func (ReqGetFedMediaInfo) GetRoute

func (ReqGetFedMediaInfo) GetRoute() string

func (ReqGetFedMediaInfo) GetTopic

func (ReqGetFedMediaInfo) GetTopic(cfg *config.Dendrite) string

func (ReqGetFedMediaInfo) NewRequest

func (ReqGetFedMediaInfo) NewRequest() core.Coder

func (ReqGetFedMediaInfo) NewResponse

func (ReqGetFedMediaInfo) NewResponse(code int) core.Coder

func (ReqGetFedMediaInfo) Process

func (ReqGetFedMediaInfo) Process(ctx context.Context, ud interface{}, msg core.Coder, device *authtypes.Device) (int, core.Coder)

type ReqGetFedMediaInfoRequest

type ReqGetFedMediaInfoRequest struct {
	NetdiskID string
	UserID    string
}

func (*ReqGetFedMediaInfoRequest) Decode

func (r *ReqGetFedMediaInfoRequest) Decode(input []byte) error

func (*ReqGetFedMediaInfoRequest) Encode

func (r *ReqGetFedMediaInfoRequest) Encode() ([]byte, error)

type ReqGetFedMediaInfoResponse

type ReqGetFedMediaInfoResponse gomatrixserverlib.RespMediaInfo

func (*ReqGetFedMediaInfoResponse) Decode

func (r *ReqGetFedMediaInfoResponse) Decode(input []byte) error

func (*ReqGetFedMediaInfoResponse) Encode

func (r *ReqGetFedMediaInfoResponse) Encode() ([]byte, error)

type ReqGetFedMissingEvents

type ReqGetFedMissingEvents struct{}

func (ReqGetFedMissingEvents) FillRequest

func (ReqGetFedMissingEvents) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error

func (ReqGetFedMissingEvents) GetAPIType

func (ReqGetFedMissingEvents) GetAPIType() int8

func (ReqGetFedMissingEvents) GetMethod

func (ReqGetFedMissingEvents) GetMethod() []string

func (ReqGetFedMissingEvents) GetMetricsName

func (ReqGetFedMissingEvents) GetMetricsName() string

func (ReqGetFedMissingEvents) GetMsgType

func (ReqGetFedMissingEvents) GetMsgType() int32

func (ReqGetFedMissingEvents) GetPrefix

func (ReqGetFedMissingEvents) GetPrefix() []string

func (ReqGetFedMissingEvents) GetRoute

func (ReqGetFedMissingEvents) GetRoute() string

func (ReqGetFedMissingEvents) GetTopic

func (ReqGetFedMissingEvents) NewRequest

func (ReqGetFedMissingEvents) NewRequest() core.Coder

func (ReqGetFedMissingEvents) NewResponse

func (ReqGetFedMissingEvents) NewResponse(code int) core.Coder

func (ReqGetFedMissingEvents) Process

func (ReqGetFedMissingEvents) Process(ctx context.Context, ud interface{}, msg core.Coder, device *authtypes.Device) (int, core.Coder)

type ReqGetFedProfile

type ReqGetFedProfile struct{}

func (ReqGetFedProfile) FillRequest

func (ReqGetFedProfile) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error

func (ReqGetFedProfile) GetAPIType

func (ReqGetFedProfile) GetAPIType() int8

func (ReqGetFedProfile) GetMethod

func (ReqGetFedProfile) GetMethod() []string

func (ReqGetFedProfile) GetMetricsName

func (ReqGetFedProfile) GetMetricsName() string

func (ReqGetFedProfile) GetMsgType

func (ReqGetFedProfile) GetMsgType() int32

func (ReqGetFedProfile) GetPrefix

func (ReqGetFedProfile) GetPrefix() []string

func (ReqGetFedProfile) GetRoute

func (ReqGetFedProfile) GetRoute() string

func (ReqGetFedProfile) GetTopic

func (ReqGetFedProfile) GetTopic(cfg *config.Dendrite) string

func (ReqGetFedProfile) NewRequest

func (ReqGetFedProfile) NewRequest() core.Coder

func (ReqGetFedProfile) NewResponse

func (ReqGetFedProfile) NewResponse(code int) core.Coder

func (ReqGetFedProfile) Process

func (ReqGetFedProfile) Process(ctx context.Context, ud interface{}, msg core.Coder, device *authtypes.Device) (int, core.Coder)

type ReqGetFedProfileRequest

type ReqGetFedProfileRequest struct {
	UserID string `json:"user_id"`
	Field  string `json:"field"`
}

func (*ReqGetFedProfileRequest) Decode

func (r *ReqGetFedProfileRequest) Decode(input []byte) error

func (*ReqGetFedProfileRequest) Encode

func (r *ReqGetFedProfileRequest) Encode() ([]byte, error)

type ReqGetFedProfileResponse

type ReqGetFedProfileResponse struct {
	AvatarURL    string `json:"avatar_url,omitempty"`
	DisplayName  string `json:"displayname,omitempty"`
	Status       string `json:"status,omitempty"`
	StatusMsg    string `json:"status_msg,omitempty"`
	ExtStatusMsg string `json:"ext_status_msg,omitempty"`
}

func (*ReqGetFedProfileResponse) Decode

func (r *ReqGetFedProfileResponse) Decode(input []byte) error

func (*ReqGetFedProfileResponse) Encode

func (r *ReqGetFedProfileResponse) Encode() ([]byte, error)

type ReqGetFedRoomState

type ReqGetFedRoomState struct{}

func (ReqGetFedRoomState) FillRequest

func (ReqGetFedRoomState) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error

func (ReqGetFedRoomState) GetAPIType

func (ReqGetFedRoomState) GetAPIType() int8

func (ReqGetFedRoomState) GetMethod

func (ReqGetFedRoomState) GetMethod() []string

func (ReqGetFedRoomState) GetMetricsName

func (ReqGetFedRoomState) GetMetricsName() string

func (ReqGetFedRoomState) GetMsgType

func (ReqGetFedRoomState) GetMsgType() int32

func (ReqGetFedRoomState) GetPrefix

func (ReqGetFedRoomState) GetPrefix() []string

func (ReqGetFedRoomState) GetRoute

func (ReqGetFedRoomState) GetRoute() string

func (ReqGetFedRoomState) GetTopic

func (ReqGetFedRoomState) GetTopic(cfg *config.Dendrite) string

func (ReqGetFedRoomState) NewRequest

func (ReqGetFedRoomState) NewRequest() core.Coder

func (ReqGetFedRoomState) NewResponse

func (ReqGetFedRoomState) NewResponse(code int) core.Coder

func (ReqGetFedRoomState) Process

func (ReqGetFedRoomState) Process(ctx context.Context, ud interface{}, msg core.Coder, device *authtypes.Device) (int, core.Coder)

type ReqGetFedRoomStateRequest

type ReqGetFedRoomStateRequest struct {
	RoomID  string `json:"roomID"`
	EventID string `json:"eventID"`
}

func (*ReqGetFedRoomStateRequest) Decode

func (r *ReqGetFedRoomStateRequest) Decode(input []byte) error

func (*ReqGetFedRoomStateRequest) Encode

func (r *ReqGetFedRoomStateRequest) Encode() ([]byte, error)

type ReqGetFedRoomStateResponse

type ReqGetFedRoomStateResponse gomatrixserverlib.RespState

func (*ReqGetFedRoomStateResponse) Decode

func (r *ReqGetFedRoomStateResponse) Decode(input []byte) error

func (*ReqGetFedRoomStateResponse) Encode

func (r *ReqGetFedRoomStateResponse) Encode() ([]byte, error)

type ReqGetFedUserInfo

type ReqGetFedUserInfo struct{}

func (ReqGetFedUserInfo) FillRequest

func (ReqGetFedUserInfo) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error

func (ReqGetFedUserInfo) GetAPIType

func (ReqGetFedUserInfo) GetAPIType() int8

func (ReqGetFedUserInfo) GetMethod

func (ReqGetFedUserInfo) GetMethod() []string

func (ReqGetFedUserInfo) GetMetricsName

func (ReqGetFedUserInfo) GetMetricsName() string

func (ReqGetFedUserInfo) GetMsgType

func (ReqGetFedUserInfo) GetMsgType() int32

func (ReqGetFedUserInfo) GetPrefix

func (ReqGetFedUserInfo) GetPrefix() []string

func (ReqGetFedUserInfo) GetRoute

func (ReqGetFedUserInfo) GetRoute() string

func (ReqGetFedUserInfo) GetTopic

func (ReqGetFedUserInfo) GetTopic(cfg *config.Dendrite) string

func (ReqGetFedUserInfo) NewRequest

func (ReqGetFedUserInfo) NewRequest() core.Coder

func (ReqGetFedUserInfo) NewResponse

func (ReqGetFedUserInfo) NewResponse(code int) core.Coder

func (ReqGetFedUserInfo) Process

func (ReqGetFedUserInfo) Process(ctx context.Context, ud interface{}, msg core.Coder, device *authtypes.Device) (int, core.Coder)

type ReqGetFedUserInfoRequest

type ReqGetFedUserInfoRequest struct {
	UserID string `json:"user_id"`
}

func (*ReqGetFedUserInfoRequest) Decode

func (r *ReqGetFedUserInfoRequest) Decode(input []byte) error

func (*ReqGetFedUserInfoRequest) Encode

func (r *ReqGetFedUserInfoRequest) Encode() ([]byte, error)

type ReqGetFedUserInfoResponse

type ReqGetFedUserInfoResponse struct {
	UserName  string `json:"user_name,omitempty"`
	JobNumber string `json:"job_number,omitempty"`
	Mobile    string `json:"mobile,omitempty"`
	Landline  string `json:"landline,omitempty"`
	Email     string `json:"email,omitempty"`
	State     int    `json:"state,omitempty"`
}

func (*ReqGetFedUserInfoResponse) Decode

func (r *ReqGetFedUserInfoResponse) Decode(input []byte) error

func (*ReqGetFedUserInfoResponse) Encode

func (r *ReqGetFedUserInfoResponse) Encode() ([]byte, error)

type ReqGetFedVer

type ReqGetFedVer struct{}

func (ReqGetFedVer) FillRequest

func (ReqGetFedVer) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error

func (ReqGetFedVer) GetAPIType

func (ReqGetFedVer) GetAPIType() int8

func (ReqGetFedVer) GetMethod

func (ReqGetFedVer) GetMethod() []string

func (ReqGetFedVer) GetMetricsName

func (ReqGetFedVer) GetMetricsName() string

func (ReqGetFedVer) GetMsgType

func (ReqGetFedVer) GetMsgType() int32

func (ReqGetFedVer) GetPrefix

func (ReqGetFedVer) GetPrefix() []string

func (ReqGetFedVer) GetRoute

func (ReqGetFedVer) GetRoute() string

func (ReqGetFedVer) GetTopic

func (ReqGetFedVer) GetTopic(cfg *config.Dendrite) string

func (ReqGetFedVer) NewRequest

func (ReqGetFedVer) NewRequest() core.Coder

func (ReqGetFedVer) NewResponse

func (ReqGetFedVer) NewResponse(code int) core.Coder

func (ReqGetFedVer) Process

func (ReqGetFedVer) Process(ctx context.Context, ud interface{}, msg core.Coder, device *authtypes.Device) (int, core.Coder)

type ReqGetMakeJoin

type ReqGetMakeJoin struct{}

func (ReqGetMakeJoin) FillRequest

func (ReqGetMakeJoin) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error

func (ReqGetMakeJoin) GetAPIType

func (ReqGetMakeJoin) GetAPIType() int8

func (ReqGetMakeJoin) GetMethod

func (ReqGetMakeJoin) GetMethod() []string

func (ReqGetMakeJoin) GetMetricsName

func (ReqGetMakeJoin) GetMetricsName() string

func (ReqGetMakeJoin) GetMsgType

func (ReqGetMakeJoin) GetMsgType() int32

func (ReqGetMakeJoin) GetPrefix

func (ReqGetMakeJoin) GetPrefix() []string

func (ReqGetMakeJoin) GetRoute

func (ReqGetMakeJoin) GetRoute() string

func (ReqGetMakeJoin) GetTopic

func (ReqGetMakeJoin) GetTopic(cfg *config.Dendrite) string

func (ReqGetMakeJoin) NewRequest

func (ReqGetMakeJoin) NewRequest() core.Coder

func (ReqGetMakeJoin) NewResponse

func (ReqGetMakeJoin) NewResponse(code int) core.Coder

func (ReqGetMakeJoin) Process

func (ReqGetMakeJoin) Process(ctx context.Context, ud interface{}, msg core.Coder, device *authtypes.Device) (int, core.Coder)

type ReqGetMakeLeave

type ReqGetMakeLeave struct{}

func (ReqGetMakeLeave) FillRequest

func (ReqGetMakeLeave) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error

func (ReqGetMakeLeave) GetAPIType

func (ReqGetMakeLeave) GetAPIType() int8

func (ReqGetMakeLeave) GetMethod

func (ReqGetMakeLeave) GetMethod() []string

func (ReqGetMakeLeave) GetMetricsName

func (ReqGetMakeLeave) GetMetricsName() string

func (ReqGetMakeLeave) GetMsgType

func (ReqGetMakeLeave) GetMsgType() int32

func (ReqGetMakeLeave) GetPrefix

func (ReqGetMakeLeave) GetPrefix() []string

func (ReqGetMakeLeave) GetRoute

func (ReqGetMakeLeave) GetRoute() string

func (ReqGetMakeLeave) GetTopic

func (ReqGetMakeLeave) GetTopic(cfg *config.Dendrite) string

func (ReqGetMakeLeave) NewRequest

func (ReqGetMakeLeave) NewRequest() core.Coder

func (ReqGetMakeLeave) NewResponse

func (ReqGetMakeLeave) NewResponse(code int) core.Coder

func (ReqGetMakeLeave) Process

func (ReqGetMakeLeave) Process(ctx context.Context, ud interface{}, msg core.Coder, device *authtypes.Device) (int, core.Coder)

type ReqGetMediaDownload

type ReqGetMediaDownload struct{}

func (ReqGetMediaDownload) FillRequest

func (ReqGetMediaDownload) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error

func (ReqGetMediaDownload) GetAPIType

func (ReqGetMediaDownload) GetAPIType() int8

func (ReqGetMediaDownload) GetMethod

func (ReqGetMediaDownload) GetMethod() []string

func (ReqGetMediaDownload) GetMetricsName

func (ReqGetMediaDownload) GetMetricsName() string

func (ReqGetMediaDownload) GetMsgType

func (ReqGetMediaDownload) GetMsgType() int32

func (ReqGetMediaDownload) GetPrefix

func (ReqGetMediaDownload) GetPrefix() []string

func (ReqGetMediaDownload) GetRoute

func (ReqGetMediaDownload) GetRoute() string

func (ReqGetMediaDownload) GetTopic

func (ReqGetMediaDownload) GetTopic(cfg *config.Dendrite) string

func (ReqGetMediaDownload) NewRequest

func (ReqGetMediaDownload) NewRequest() core.Coder

func (ReqGetMediaDownload) NewResponse

func (ReqGetMediaDownload) NewResponse(code int) core.Coder

func (ReqGetMediaDownload) Process

func (ReqGetMediaDownload) Process(ctx context.Context, ud interface{}, msg core.Coder, device *authtypes.Device) (int, core.Coder)

type ReqGetMediaThumbnail

type ReqGetMediaThumbnail struct{}

func (ReqGetMediaThumbnail) FillRequest

func (ReqGetMediaThumbnail) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error

func (ReqGetMediaThumbnail) GetAPIType

func (ReqGetMediaThumbnail) GetAPIType() int8

func (ReqGetMediaThumbnail) GetMethod

func (ReqGetMediaThumbnail) GetMethod() []string

func (ReqGetMediaThumbnail) GetMetricsName

func (ReqGetMediaThumbnail) GetMetricsName() string

func (ReqGetMediaThumbnail) GetMsgType

func (ReqGetMediaThumbnail) GetMsgType() int32

func (ReqGetMediaThumbnail) GetPrefix

func (ReqGetMediaThumbnail) GetPrefix() []string

func (ReqGetMediaThumbnail) GetRoute

func (ReqGetMediaThumbnail) GetRoute() string

func (ReqGetMediaThumbnail) GetTopic

func (ReqGetMediaThumbnail) GetTopic(cfg *config.Dendrite) string

func (ReqGetMediaThumbnail) NewRequest

func (ReqGetMediaThumbnail) NewRequest() core.Coder

func (ReqGetMediaThumbnail) NewResponse

func (ReqGetMediaThumbnail) NewResponse(code int) core.Coder

func (ReqGetMediaThumbnail) Process

func (ReqGetMediaThumbnail) Process(ctx context.Context, ud interface{}, msg core.Coder, device *authtypes.Device) (int, core.Coder)

type ReqGetPublicRooms

type ReqGetPublicRooms struct{}

func (ReqGetPublicRooms) FillRequest

func (ReqGetPublicRooms) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error

func (ReqGetPublicRooms) GetAPIType

func (ReqGetPublicRooms) GetAPIType() int8

func (ReqGetPublicRooms) GetMethod

func (ReqGetPublicRooms) GetMethod() []string

func (ReqGetPublicRooms) GetMetricsName

func (ReqGetPublicRooms) GetMetricsName() string

func (ReqGetPublicRooms) GetMsgType

func (ReqGetPublicRooms) GetMsgType() int32

func (ReqGetPublicRooms) GetPrefix

func (ReqGetPublicRooms) GetPrefix() []string

func (ReqGetPublicRooms) GetRoute

func (ReqGetPublicRooms) GetRoute() string

func (ReqGetPublicRooms) GetTopic

func (ReqGetPublicRooms) GetTopic(cfg *config.Dendrite) string

func (ReqGetPublicRooms) NewRequest

func (ReqGetPublicRooms) NewRequest() core.Coder

func (ReqGetPublicRooms) NewResponse

func (ReqGetPublicRooms) NewResponse(code int) core.Coder

func (ReqGetPublicRooms) Process

func (ReqGetPublicRooms) Process(ctx context.Context, ud interface{}, msg core.Coder, device *authtypes.Device) (int, core.Coder)

type ReqGetStateIDs

type ReqGetStateIDs struct{}

func (ReqGetStateIDs) FillRequest

func (ReqGetStateIDs) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error

func (ReqGetStateIDs) GetAPIType

func (ReqGetStateIDs) GetAPIType() int8

func (ReqGetStateIDs) GetMethod

func (ReqGetStateIDs) GetMethod() []string

func (ReqGetStateIDs) GetMetricsName

func (ReqGetStateIDs) GetMetricsName() string

func (ReqGetStateIDs) GetMsgType

func (ReqGetStateIDs) GetMsgType() int32

func (ReqGetStateIDs) GetPrefix

func (ReqGetStateIDs) GetPrefix() []string

func (ReqGetStateIDs) GetRoute

func (ReqGetStateIDs) GetRoute() string

func (ReqGetStateIDs) GetTopic

func (ReqGetStateIDs) GetTopic(cfg *config.Dendrite) string

func (ReqGetStateIDs) NewRequest

func (ReqGetStateIDs) NewRequest() core.Coder

func (ReqGetStateIDs) NewResponse

func (ReqGetStateIDs) NewResponse(code int) core.Coder

func (ReqGetStateIDs) Process

func (ReqGetStateIDs) Process(ctx context.Context, ud interface{}, msg core.Coder, device *authtypes.Device) (int, core.Coder)

type ReqPostClaimClientKeys

type ReqPostClaimClientKeys struct{}

func (ReqPostClaimClientKeys) FillRequest

func (ReqPostClaimClientKeys) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error

func (ReqPostClaimClientKeys) GetAPIType

func (ReqPostClaimClientKeys) GetAPIType() int8

func (ReqPostClaimClientKeys) GetMethod

func (ReqPostClaimClientKeys) GetMethod() []string

func (ReqPostClaimClientKeys) GetMetricsName

func (ReqPostClaimClientKeys) GetMetricsName() string

func (ReqPostClaimClientKeys) GetMsgType

func (ReqPostClaimClientKeys) GetMsgType() int32

func (ReqPostClaimClientKeys) GetPrefix

func (ReqPostClaimClientKeys) GetPrefix() []string

func (ReqPostClaimClientKeys) GetRoute

func (ReqPostClaimClientKeys) GetRoute() string

func (ReqPostClaimClientKeys) GetTopic

func (ReqPostClaimClientKeys) NewRequest

func (ReqPostClaimClientKeys) NewRequest() core.Coder

func (ReqPostClaimClientKeys) NewResponse

func (ReqPostClaimClientKeys) NewResponse(code int) core.Coder

func (ReqPostClaimClientKeys) Process

func (ReqPostClaimClientKeys) Process(ctx context.Context, ud interface{}, msg core.Coder, device *authtypes.Device) (int, core.Coder)

type ReqPostMediaUpload

type ReqPostMediaUpload struct{}

func (ReqPostMediaUpload) FillRequest

func (ReqPostMediaUpload) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error

func (ReqPostMediaUpload) GetAPIType

func (ReqPostMediaUpload) GetAPIType() int8

func (ReqPostMediaUpload) GetMethod

func (ReqPostMediaUpload) GetMethod() []string

func (ReqPostMediaUpload) GetMetricsName

func (ReqPostMediaUpload) GetMetricsName() string

func (ReqPostMediaUpload) GetMsgType

func (ReqPostMediaUpload) GetMsgType() int32

func (ReqPostMediaUpload) GetPrefix

func (ReqPostMediaUpload) GetPrefix() []string

func (ReqPostMediaUpload) GetRoute

func (ReqPostMediaUpload) GetRoute() string

func (ReqPostMediaUpload) GetTopic

func (ReqPostMediaUpload) GetTopic(cfg *config.Dendrite) string

func (ReqPostMediaUpload) NewRequest

func (ReqPostMediaUpload) NewRequest() core.Coder

func (ReqPostMediaUpload) NewResponse

func (ReqPostMediaUpload) NewResponse(code int) core.Coder

func (ReqPostMediaUpload) Process

func (ReqPostMediaUpload) Process(ctx context.Context, ud interface{}, msg core.Coder, device *authtypes.Device) (int, core.Coder)

type ReqPostNotaryNotice

type ReqPostNotaryNotice struct{}

func (ReqPostNotaryNotice) FillRequest

func (ReqPostNotaryNotice) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error

func (ReqPostNotaryNotice) GetAPIType

func (ReqPostNotaryNotice) GetAPIType() int8

func (ReqPostNotaryNotice) GetMethod

func (ReqPostNotaryNotice) GetMethod() []string

func (ReqPostNotaryNotice) GetMetricsName

func (ReqPostNotaryNotice) GetMetricsName() string

func (ReqPostNotaryNotice) GetMsgType

func (ReqPostNotaryNotice) GetMsgType() int32

func (ReqPostNotaryNotice) GetPrefix

func (ReqPostNotaryNotice) GetPrefix() []string

func (ReqPostNotaryNotice) GetRoute

func (ReqPostNotaryNotice) GetRoute() string

func (ReqPostNotaryNotice) GetTopic

func (ReqPostNotaryNotice) GetTopic(cfg *config.Dendrite) string

func (ReqPostNotaryNotice) NewRequest

func (ReqPostNotaryNotice) NewRequest() core.Coder

func (ReqPostNotaryNotice) NewResponse

func (ReqPostNotaryNotice) NewResponse(code int) core.Coder

func (ReqPostNotaryNotice) Process

func (ReqPostNotaryNotice) Process(ctx context.Context, ud interface{}, msg core.Coder, device *authtypes.Device) (int, core.Coder)

type ReqPostPublicRooms

type ReqPostPublicRooms struct{}

func (ReqPostPublicRooms) FillRequest

func (ReqPostPublicRooms) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error

func (ReqPostPublicRooms) GetAPIType

func (ReqPostPublicRooms) GetAPIType() int8

func (ReqPostPublicRooms) GetMethod

func (ReqPostPublicRooms) GetMethod() []string

func (ReqPostPublicRooms) GetMetricsName

func (ReqPostPublicRooms) GetMetricsName() string

func (ReqPostPublicRooms) GetMsgType

func (ReqPostPublicRooms) GetMsgType() int32

func (ReqPostPublicRooms) GetPrefix

func (ReqPostPublicRooms) GetPrefix() []string

func (ReqPostPublicRooms) GetRoute

func (ReqPostPublicRooms) GetRoute() string

func (ReqPostPublicRooms) GetTopic

func (ReqPostPublicRooms) GetTopic(cfg *config.Dendrite) string

func (ReqPostPublicRooms) NewRequest

func (ReqPostPublicRooms) NewRequest() core.Coder

func (ReqPostPublicRooms) NewResponse

func (ReqPostPublicRooms) NewResponse(code int) core.Coder

func (ReqPostPublicRooms) Process

func (ReqPostPublicRooms) Process(ctx context.Context, ud interface{}, msg core.Coder, device *authtypes.Device) (int, core.Coder)

type ReqPostQueryAuth

type ReqPostQueryAuth struct{}

func (ReqPostQueryAuth) FillRequest

func (ReqPostQueryAuth) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error

func (ReqPostQueryAuth) GetAPIType

func (ReqPostQueryAuth) GetAPIType() int8

func (ReqPostQueryAuth) GetMethod

func (ReqPostQueryAuth) GetMethod() []string

func (ReqPostQueryAuth) GetMetricsName

func (ReqPostQueryAuth) GetMetricsName() string

func (ReqPostQueryAuth) GetMsgType

func (ReqPostQueryAuth) GetMsgType() int32

func (ReqPostQueryAuth) GetPrefix

func (ReqPostQueryAuth) GetPrefix() []string

func (ReqPostQueryAuth) GetRoute

func (ReqPostQueryAuth) GetRoute() string

func (ReqPostQueryAuth) GetTopic

func (ReqPostQueryAuth) GetTopic(cfg *config.Dendrite) string

func (ReqPostQueryAuth) NewRequest

func (ReqPostQueryAuth) NewRequest() core.Coder

func (ReqPostQueryAuth) NewResponse

func (ReqPostQueryAuth) NewResponse(code int) core.Coder

func (ReqPostQueryAuth) Process

func (ReqPostQueryAuth) Process(ctx context.Context, ud interface{}, msg core.Coder, device *authtypes.Device) (int, core.Coder)

type ReqPostQueryClientKeys

type ReqPostQueryClientKeys struct{}

func (ReqPostQueryClientKeys) FillRequest

func (ReqPostQueryClientKeys) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error

func (ReqPostQueryClientKeys) GetAPIType

func (ReqPostQueryClientKeys) GetAPIType() int8

func (ReqPostQueryClientKeys) GetMethod

func (ReqPostQueryClientKeys) GetMethod() []string

func (ReqPostQueryClientKeys) GetMetricsName

func (ReqPostQueryClientKeys) GetMetricsName() string

func (ReqPostQueryClientKeys) GetMsgType

func (ReqPostQueryClientKeys) GetMsgType() int32

func (ReqPostQueryClientKeys) GetPrefix

func (ReqPostQueryClientKeys) GetPrefix() []string

func (ReqPostQueryClientKeys) GetRoute

func (ReqPostQueryClientKeys) GetRoute() string

func (ReqPostQueryClientKeys) GetTopic

func (ReqPostQueryClientKeys) NewRequest

func (ReqPostQueryClientKeys) NewRequest() core.Coder

func (ReqPostQueryClientKeys) NewResponse

func (ReqPostQueryClientKeys) NewResponse(code int) core.Coder

func (ReqPostQueryClientKeys) Process

func (ReqPostQueryClientKeys) Process(ctx context.Context, ud interface{}, msg core.Coder, device *authtypes.Device) (int, core.Coder)

type ReqPutFedInvite

type ReqPutFedInvite struct{}

func (ReqPutFedInvite) FillRequest

func (ReqPutFedInvite) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error

func (ReqPutFedInvite) GetAPIType

func (ReqPutFedInvite) GetAPIType() int8

func (ReqPutFedInvite) GetMethod

func (ReqPutFedInvite) GetMethod() []string

func (ReqPutFedInvite) GetMetricsName

func (ReqPutFedInvite) GetMetricsName() string

func (ReqPutFedInvite) GetMsgType

func (ReqPutFedInvite) GetMsgType() int32

func (ReqPutFedInvite) GetPrefix

func (ReqPutFedInvite) GetPrefix() []string

func (ReqPutFedInvite) GetRoute

func (ReqPutFedInvite) GetRoute() string

func (ReqPutFedInvite) GetTopic

func (ReqPutFedInvite) GetTopic(cfg *config.Dendrite) string

func (ReqPutFedInvite) NewRequest

func (ReqPutFedInvite) NewRequest() core.Coder

func (ReqPutFedInvite) NewResponse

func (ReqPutFedInvite) NewResponse(code int) core.Coder

func (ReqPutFedInvite) Process

func (ReqPutFedInvite) Process(ctx context.Context, ud interface{}, msg core.Coder, device *authtypes.Device) (int, core.Coder)

type ReqPutFedSend

type ReqPutFedSend struct{}

func (ReqPutFedSend) FillRequest

func (ReqPutFedSend) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error

func (ReqPutFedSend) GetAPIType

func (ReqPutFedSend) GetAPIType() int8

func (ReqPutFedSend) GetMethod

func (ReqPutFedSend) GetMethod() []string

func (ReqPutFedSend) GetMetricsName

func (ReqPutFedSend) GetMetricsName() string

func (ReqPutFedSend) GetMsgType

func (ReqPutFedSend) GetMsgType() int32

func (ReqPutFedSend) GetPrefix

func (ReqPutFedSend) GetPrefix() []string

func (ReqPutFedSend) GetRoute

func (ReqPutFedSend) GetRoute() string

func (ReqPutFedSend) GetTopic

func (ReqPutFedSend) GetTopic(cfg *config.Dendrite) string

func (ReqPutFedSend) NewRequest

func (ReqPutFedSend) NewRequest() core.Coder

func (ReqPutFedSend) NewResponse

func (ReqPutFedSend) NewResponse(code int) core.Coder

func (ReqPutFedSend) Process

func (ReqPutFedSend) Process(ctx context.Context, ud interface{}, msg core.Coder, device *authtypes.Device) (int, core.Coder)

type ReqPutFedSendRequest

type ReqPutFedSendRequest struct {
	TxnID string `json:"txnID"`
}

func (*ReqPutFedSendRequest) Decode

func (r *ReqPutFedSendRequest) Decode(input []byte) error

func (*ReqPutFedSendRequest) Encode

func (r *ReqPutFedSendRequest) Encode() ([]byte, error)

type ReqPutFedSendResponse

type ReqPutFedSendResponse gomatrixserverlib.RespSend

func (*ReqPutFedSendResponse) Decode

func (r *ReqPutFedSendResponse) Decode(input []byte) error

func (*ReqPutFedSendResponse) Encode

func (r *ReqPutFedSendResponse) Encode() ([]byte, error)

type ReqPutSendJoin

type ReqPutSendJoin struct{}

func (ReqPutSendJoin) FillRequest

func (ReqPutSendJoin) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error

func (ReqPutSendJoin) GetAPIType

func (ReqPutSendJoin) GetAPIType() int8

func (ReqPutSendJoin) GetMethod

func (ReqPutSendJoin) GetMethod() []string

func (ReqPutSendJoin) GetMetricsName

func (ReqPutSendJoin) GetMetricsName() string

func (ReqPutSendJoin) GetMsgType

func (ReqPutSendJoin) GetMsgType() int32

func (ReqPutSendJoin) GetPrefix

func (ReqPutSendJoin) GetPrefix() []string

func (ReqPutSendJoin) GetRoute

func (ReqPutSendJoin) GetRoute() string

func (ReqPutSendJoin) GetTopic

func (ReqPutSendJoin) GetTopic(cfg *config.Dendrite) string

func (ReqPutSendJoin) NewRequest

func (ReqPutSendJoin) NewRequest() core.Coder

func (ReqPutSendJoin) NewResponse

func (ReqPutSendJoin) NewResponse(code int) core.Coder

func (ReqPutSendJoin) Process

func (ReqPutSendJoin) Process(ctx context.Context, ud interface{}, msg core.Coder, device *authtypes.Device) (int, core.Coder)

type ReqPutSendLeave

type ReqPutSendLeave struct{}

func (ReqPutSendLeave) FillRequest

func (ReqPutSendLeave) FillRequest(coder core.Coder, req *http.Request, vars map[string]string) error

func (ReqPutSendLeave) GetAPIType

func (ReqPutSendLeave) GetAPIType() int8

func (ReqPutSendLeave) GetMethod

func (ReqPutSendLeave) GetMethod() []string

func (ReqPutSendLeave) GetMetricsName

func (ReqPutSendLeave) GetMetricsName() string

func (ReqPutSendLeave) GetMsgType

func (ReqPutSendLeave) GetMsgType() int32

func (ReqPutSendLeave) GetPrefix

func (ReqPutSendLeave) GetPrefix() []string

func (ReqPutSendLeave) GetRoute

func (ReqPutSendLeave) GetRoute() string

func (ReqPutSendLeave) GetTopic

func (ReqPutSendLeave) GetTopic(cfg *config.Dendrite) string

func (ReqPutSendLeave) NewRequest

func (ReqPutSendLeave) NewRequest() core.Coder

func (ReqPutSendLeave) NewResponse

func (ReqPutSendLeave) NewResponse(code int) core.Coder

func (ReqPutSendLeave) Process

func (ReqPutSendLeave) Process(ctx context.Context, ud interface{}, msg core.Coder, device *authtypes.Device) (int, core.Coder)

Jump to

Keyboard shortcuts

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