processors

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

Documentation

Index

Constants

View Source
const (
	ST_INIT   = "init"
	ST_INVITE = "invite"
	ST_JOIN   = "join"
	ST_LEAVE  = "leave"
)
View Source
const (
	OP_JOIN   = "join"
	OP_INVITE = "invite"
	OP_LEAVE  = "leave"
)
View Source
const (
	ACT_DEFAULT = "update database"
	ACT_IGNORE  = "ignore"
	ACT_JOIN    = "join"
	ACT_INVITE  = "invite"
)

Variables

This section is empty.

Functions

Types

type EventProcessor

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

func (*EventProcessor) HandleCreate

func (*EventProcessor) HandleMembership

func (p *EventProcessor) HandleMembership(
	ctx context.Context, ev *gomatrixserverlib.Event,
) ([]gomatrixserverlib.Event, error)

type RCSDelegate

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

func (*RCSDelegate) HandleEvent

func (d *RCSDelegate) HandleEvent(action, fromState, toState string, args []interface{}) error

Jump to

Keyboard shortcuts

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