matrix

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Matrix

type Matrix struct {
	HomeServer string
	User       string
	Token      string
	Room       string
	Client     *gomatrix.Client
}

Matrix bot config

func New

func New(hs string, user string, token string, room string) *Matrix

New matrix client

func (*Matrix) Send

func (mx *Matrix) Send(gotifyMessage *gotify.Message, debug bool)

Send new message

Jump to

Keyboard shortcuts

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