matrix

package
v0.0.0-...-81639f7 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2019 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TIMEOUT is the HTTP timeout.
	TIMEOUT = 0 * time.Second

	// KeepAliveTimeout is how long we keep a keep-alive socket for.
	KeepAliveTimeout = 5 * time.Second
)

Variables

This section is empty.

Functions

func Launch

func Launch(conf *maConf.Config, wg *sync.WaitGroup)

Launch starts the Matrix module. It listens for events and processes them.

func Login

func Login(bot *maConf.Login) (*gomatrix.Client, error)

Login tries to log into a Matrix account using login and password, returning a Matrix client with an access token set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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