Documentation ¶
Index ¶
- type Job
- type JobResp
- type RoomAliasesJob
- type RoomAliasesResp
- type RoomEventsJob
- type RoomEventsResp
- type RoomForwardPaginateJob
- type RoomInitialSyncJob
- type RoomInitialSyncResp
- type RoomMemberInfoJob
- type RoomMemberInfoResp
- type RoomMemberNotFoundError
- type RoomMembersJob
- type RoomMembersResp
- type RoomPowerLevelsJob
- type RoomPowerLevelsResp
- type RoomServersJob
- type RoomServersResp
- type Worker
- type Workers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RoomAliasesJob ¶
func (RoomAliasesJob) Work ¶
func (job RoomAliasesJob) Work(w *Worker)
type RoomAliasesResp ¶
type RoomEventsJob ¶
func (RoomEventsJob) Work ¶
func (job RoomEventsJob) Work(w *Worker)
type RoomEventsResp ¶
type RoomForwardPaginateJob ¶
func (RoomForwardPaginateJob) Work ¶
func (job RoomForwardPaginateJob) Work(w *Worker)
type RoomInitialSyncJob ¶
type RoomInitialSyncJob struct {
RoomID string
}
func (RoomInitialSyncJob) Work ¶
func (job RoomInitialSyncJob) Work(w *Worker)
type RoomInitialSyncResp ¶
type RoomInitialSyncResp struct {
Err error
}
type RoomMemberInfoJob ¶
func (RoomMemberInfoJob) Work ¶
func (job RoomMemberInfoJob) Work(w *Worker)
type RoomMemberInfoResp ¶
type RoomMemberInfoResp struct { RoomInfo mxclient.RoomInfo MemberInfo mxclient.MemberInfo Err error }
type RoomMemberNotFoundError ¶
type RoomMemberNotFoundError struct {
// contains filtered or unexported fields
}
func (*RoomMemberNotFoundError) Error ¶
func (err *RoomMemberNotFoundError) Error() string
type RoomMembersJob ¶
func (RoomMembersJob) Work ¶
func (job RoomMembersJob) Work(w *Worker)
type RoomMembersResp ¶
type RoomPowerLevelsJob ¶
type RoomPowerLevelsJob struct {
RoomID string
}
func (RoomPowerLevelsJob) Work ¶
func (job RoomPowerLevelsJob) Work(w *Worker)
type RoomPowerLevelsResp ¶
type RoomPowerLevelsResp struct { RoomInfo mxclient.RoomInfo PowerLevels mxclient.PowerLevels }
type RoomServersJob ¶
func (RoomServersJob) Work ¶
func (job RoomServersJob) Work(w *Worker)
type RoomServersResp ¶
type Worker ¶
type Worker struct { ID int Queue chan Job Output chan JobResp // contains filtered or unexported fields }
type Workers ¶
type Workers struct { NumWorkers uint32 // contains filtered or unexported fields }
func (*Workers) GetWorkerForRoomID ¶
func (*Workers) JobForAllWorkers ¶
JobForAllWorkers sends the job to the channel of each worker.
Click to show internal directories.
Click to hide internal directories.