rpc

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type RoomAliasRpcConsumer

type RoomAliasRpcConsumer struct {
	DB      model.RoomServerDatabase
	Repo    *repos.RoomServerCurStateRepo
	UmsRepo *repos.RoomServerUserMembershipRepo
	Proc    roomserverapi.RoomserverAliasAPI
	// contains filtered or unexported fields
}

func (*RoomAliasRpcConsumer) GetTopic

func (s *RoomAliasRpcConsumer) GetTopic() string

func (*RoomAliasRpcConsumer) Start

func (s *RoomAliasRpcConsumer) Start() error

type RoomserverRpcClient

type RoomserverRpcClient struct {
	// contains filtered or unexported fields
}

func (*RoomserverRpcClient) AllocRoomAlias

func (*RoomserverRpcClient) GetAliasRoomID

func (*RoomserverRpcClient) InputRoomEvents

func (c *RoomserverRpcClient) InputRoomEvents(
	ctx context.Context,
	rawEvent *roomserverapi.RawEvent,
) (int, error)

use kafka in a async way, use nats in a sync way

func (*RoomserverRpcClient) ProcessProfile

func (c *RoomserverRpcClient) ProcessProfile(edu *gomatrixserverlib.EDU)

func (*RoomserverRpcClient) ProcessReceipt

func (c *RoomserverRpcClient) ProcessReceipt(edu *gomatrixserverlib.EDU)

func (*RoomserverRpcClient) ProcessTyping

func (c *RoomserverRpcClient) ProcessTyping(edu *gomatrixserverlib.EDU)

func (*RoomserverRpcClient) QueryBackFillEvents

func (*RoomserverRpcClient) QueryEventAuth

func (*RoomserverRpcClient) QueryEventsByID

func (*RoomserverRpcClient) QueryJoinRooms

func (*RoomserverRpcClient) QueryRoomEventByID

func (*RoomserverRpcClient) QueryRoomState

func (*RoomserverRpcClient) RemoveRoomAlias

func (*RoomserverRpcClient) SetRoomAlias

type RoomserverRpcConsumer

type RoomserverRpcConsumer struct {
	DB      model.RoomServerDatabase
	Repo    *repos.RoomServerCurStateRepo
	UmsRepo *repos.RoomServerUserMembershipRepo
	Proc    roomserverapi.RoomserverQueryAPI
	// contains filtered or unexported fields
}

func (*RoomserverRpcConsumer) GetTopic

func (s *RoomserverRpcConsumer) GetTopic() string

func (*RoomserverRpcConsumer) Start

func (s *RoomserverRpcConsumer) Start() error

Jump to

Keyboard shortcuts

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