Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MatrixOutput ¶
MatrixOutput sends selected events as m.text room messages.
func New ¶
func New(options ...Option) *MatrixOutput
New creates a Matrix output. StartContext validates the configuration.
func (*MatrixOutput) Role ¶
func (m *MatrixOutput) Role() plugin.PluginType
func (*MatrixOutput) Start ¶
func (m *MatrixOutput) Start() error
func (*MatrixOutput) StartContext ¶
func (m *MatrixOutput) StartContext(ctx context.Context) error
func (*MatrixOutput) Stop ¶
func (m *MatrixOutput) Stop() error
type Option ¶
type Option func(*MatrixOutput)
func WithAccessToken ¶
func WithEventTypes ¶
func WithHTTPClient ¶
func WithHomeserver ¶
func WithLogger ¶
func WithMaxRetries ¶
Click to show internal directories.
Click to hide internal directories.