matrix

package
v0.0.0-...-3119c8f Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2021 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Client *mautrix.Client

Functions

func Ask

func Ask(s string) (r string)

func IsOld

func IsOld(evt event.Event) bool

IsOld return true if event is older than 5 seconds. TODO: make this configurable

func IsSelf

func IsSelf(evt event.Event) bool

func Login

func Login() error

Login interactively and return an error or authtoken

func ProcessMsg

func ProcessMsg(evt event.Event, Command string) (ok bool, args []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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