matrix

package
v0.0.0-...-84f5677 Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func New

func New() (c *Client, err error)

func (*Client) ListRooms

func (c *Client) ListRooms() ([]string, error)

func (*Client) Login

func (c *Client) Login()

func (*Client) SetMessageHandler

func (c *Client) SetMessageHandler(handler mautrix.EventHandler)

func (*Client) SetRoomNameHandler

func (c *Client) SetRoomNameHandler(handler mautrix.EventHandler)

func (*Client) SetSyncCallback

func (c *Client) SetSyncCallback(f func())

func (*Client) Sync

func (c *Client) Sync() error

Jump to

Keyboard shortcuts

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