Registry / networking / matrix-org-gomatrix

matrix-org-gomatrix

JSON →
library0.0.0-20220926102614-ceba4d9f7530gogounverified

Go client library for the Matrix Client-Server API.

go get github.com/matrix-org/gomatrix
INSTALL
IMPORT
SIG · MATRIX-ORG-GOMATRI
M
matrix-org-gomatrix
networkinggov0.0.0-20220926102614-ceba4d9f7530
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gomatrix
github.com/matrix-org/gomatrix

Create a Matrix client and join a room.

import "github.com/matrix-org/gomatrix" func main() { client, err := gomatrix.NewClient("https://matrix.org", "@user:matrix.org", "token") if err != nil { panic(err) } resp, err := client.JoinRoom("!room:matrix.org") if err != nil { panic(err) } println(resp.RoomID) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20220926102614-ceba4d9f7530latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
matrix-org-gomatrix — go get matrix-org-gomatrix · libregistry