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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InternalMsgConsumer

type InternalMsgConsumer struct {
	apiconsumer.APIConsumer
	// contains filtered or unexported fields
}

func NewInternalMsgConsumer

func NewInternalMsgConsumer(
	cfg config.Dendrite,
	rpcCli *common.RpcClient,
	idg *uid.UidGenerator,
	db model.RCSServerDatabase,
) *InternalMsgConsumer

func (*InternalMsgConsumer) Start

func (c *InternalMsgConsumer) Start()

type ReqGetFriendships

type ReqGetFriendships struct{}

func (ReqGetFriendships) FillRequest

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

func (ReqGetFriendships) GetAPIType

func (ReqGetFriendships) GetAPIType() int8

func (ReqGetFriendships) GetMethod

func (ReqGetFriendships) GetMethod() []string

func (ReqGetFriendships) GetMetricsName

func (ReqGetFriendships) GetMetricsName() string

func (ReqGetFriendships) GetMsgType

func (ReqGetFriendships) GetMsgType() int32

func (ReqGetFriendships) GetPrefix

func (ReqGetFriendships) GetPrefix() []string

func (ReqGetFriendships) GetRoute

func (ReqGetFriendships) GetRoute() string

func (ReqGetFriendships) GetTopic

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

func (ReqGetFriendships) NewRequest

func (ReqGetFriendships) NewRequest() core.Coder

func (ReqGetFriendships) NewResponse

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

func (ReqGetFriendships) Process

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

type ReqGetRoomID

type ReqGetRoomID struct{}

func (ReqGetRoomID) FillRequest

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

func (ReqGetRoomID) GetAPIType

func (ReqGetRoomID) GetAPIType() int8

func (ReqGetRoomID) GetMethod

func (ReqGetRoomID) GetMethod() []string

func (ReqGetRoomID) GetMetricsName

func (ReqGetRoomID) GetMetricsName() string

func (ReqGetRoomID) GetMsgType

func (ReqGetRoomID) GetMsgType() int32

func (ReqGetRoomID) GetPrefix

func (ReqGetRoomID) GetPrefix() []string

func (ReqGetRoomID) GetRoute

func (ReqGetRoomID) GetRoute() string

func (ReqGetRoomID) GetTopic

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

func (ReqGetRoomID) NewRequest

func (ReqGetRoomID) NewRequest() core.Coder

func (ReqGetRoomID) NewResponse

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

func (ReqGetRoomID) Process

func (ReqGetRoomID) Process(ctx context.Context, consumer 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