handlers

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthHandler

type AuthHandler struct {
}

func (*AuthHandler) ProcessInputMsg

func (auth *AuthHandler) ProcessInputMsg(ctx context.Context, msg *internals.InputMsg)

type IMshHandler

type IMshHandler interface {
	ProcessInputMsg(context.Context, *internals.InputMsg)
}

type InputConsumer

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

consumes events that originated in the client api server.

func NewInputConsumer

func NewInputConsumer(
	cfg *config.Dendrite,
	client *common.RpcClient,
) *InputConsumer

func (*InputConsumer) RegisterHandler

func (s *InputConsumer) RegisterHandler(key int32, handler IMshHandler)

type InputRpcCB

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

func (*InputRpcCB) Clean

func (i *InputRpcCB) Clean()

func (*InputRpcCB) GetCB

func (*InputRpcCB) GetTopic

func (i *InputRpcCB) GetTopic() string

Jump to

Keyboard shortcuts

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