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: 16 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,
	encryptionDB model.EncryptorAPIDatabase,
	syncDB model.SyncAPIDatabase,
	idg *uid.UidGenerator,
	cache service.Cache,
	rpcCli *common.RpcClient,
	federation *gomatrixserverlib.FederationClient,
	serverName []string,
) *InternalMsgConsumer

func (*InternalMsgConsumer) Start

func (c *InternalMsgConsumer) Start()

type ReqPostClaimKey

type ReqPostClaimKey struct{}

func (ReqPostClaimKey) FillRequest

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

func (ReqPostClaimKey) GetAPIType

func (ReqPostClaimKey) GetAPIType() int8

func (ReqPostClaimKey) GetMethod

func (ReqPostClaimKey) GetMethod() []string

func (ReqPostClaimKey) GetMetricsName

func (ReqPostClaimKey) GetMetricsName() string

func (ReqPostClaimKey) GetMsgType

func (ReqPostClaimKey) GetMsgType() int32

func (ReqPostClaimKey) GetPrefix

func (ReqPostClaimKey) GetPrefix() []string

func (ReqPostClaimKey) GetRoute

func (ReqPostClaimKey) GetRoute() string

func (ReqPostClaimKey) GetTopic

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

func (ReqPostClaimKey) NewRequest

func (ReqPostClaimKey) NewRequest() core.Coder

func (ReqPostClaimKey) NewResponse

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

func (ReqPostClaimKey) Process

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

type ReqPostQueryKey

type ReqPostQueryKey struct{}

func (ReqPostQueryKey) FillRequest

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

func (ReqPostQueryKey) GetAPIType

func (ReqPostQueryKey) GetAPIType() int8

func (ReqPostQueryKey) GetMethod

func (ReqPostQueryKey) GetMethod() []string

func (ReqPostQueryKey) GetMetricsName

func (ReqPostQueryKey) GetMetricsName() string

func (ReqPostQueryKey) GetMsgType

func (ReqPostQueryKey) GetMsgType() int32

func (ReqPostQueryKey) GetPrefix

func (ReqPostQueryKey) GetPrefix() []string

func (ReqPostQueryKey) GetRoute

func (ReqPostQueryKey) GetRoute() string

func (ReqPostQueryKey) GetTopic

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

func (ReqPostQueryKey) NewRequest

func (ReqPostQueryKey) NewRequest() core.Coder

func (ReqPostQueryKey) NewResponse

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

func (ReqPostQueryKey) Process

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

type ReqPostUploadKey

type ReqPostUploadKey struct{}

func (ReqPostUploadKey) FillRequest

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

func (ReqPostUploadKey) GetAPIType

func (ReqPostUploadKey) GetAPIType() int8

func (ReqPostUploadKey) GetMethod

func (ReqPostUploadKey) GetMethod() []string

func (ReqPostUploadKey) GetMetricsName

func (ReqPostUploadKey) GetMetricsName() string

func (ReqPostUploadKey) GetMsgType

func (ReqPostUploadKey) GetMsgType() int32

func (ReqPostUploadKey) GetPrefix

func (ReqPostUploadKey) GetPrefix() []string

func (ReqPostUploadKey) GetRoute

func (ReqPostUploadKey) GetRoute() string

func (ReqPostUploadKey) GetTopic

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

func (ReqPostUploadKey) NewRequest

func (ReqPostUploadKey) NewRequest() core.Coder

func (ReqPostUploadKey) NewResponse

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

func (ReqPostUploadKey) Process

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

type ReqPostUploadKeyByDeviceID

type ReqPostUploadKeyByDeviceID struct{}

func (ReqPostUploadKeyByDeviceID) FillRequest

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

func (ReqPostUploadKeyByDeviceID) GetAPIType

func (ReqPostUploadKeyByDeviceID) GetAPIType() int8

func (ReqPostUploadKeyByDeviceID) GetMethod

func (ReqPostUploadKeyByDeviceID) GetMethod() []string

func (ReqPostUploadKeyByDeviceID) GetMetricsName

func (ReqPostUploadKeyByDeviceID) GetMetricsName() string

func (ReqPostUploadKeyByDeviceID) GetMsgType

func (ReqPostUploadKeyByDeviceID) GetMsgType() int32

func (ReqPostUploadKeyByDeviceID) GetPrefix

func (ReqPostUploadKeyByDeviceID) GetPrefix() []string

func (ReqPostUploadKeyByDeviceID) GetRoute

func (ReqPostUploadKeyByDeviceID) GetTopic

func (ReqPostUploadKeyByDeviceID) NewRequest

func (ReqPostUploadKeyByDeviceID) NewRequest() core.Coder

func (ReqPostUploadKeyByDeviceID) NewResponse

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

func (ReqPostUploadKeyByDeviceID) Process

func (ReqPostUploadKeyByDeviceID) 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