Rocket.Chat.Go.SDK

module
v0.0.0-...-a8cbe88 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: MIT

README

Rocket.Chat Go SDK

This is very much a work in process. Things could break as we clean things up. Make sure to use something like dep to lock to a commit to prevent breakage.

Development

A local instance of Rocket.Chat is required for unit tests to confirm connection and subscription methods are functional.

Installing Rocket.Chat

Please see the Development Docs for information on locally deploying a Rocket.Chat instance. Deploying with Docker & Docker Compose is recommended.

Testing

Tests depend on an instance of Rocket.Chat running at http://localhost:3000. This is the default configuration for Rocket.Chat instances deployed with Docker Compose.

To test the rest and realtime packages, navigate to the respective directories and run go test.

Directories

Path Synopsis
Package realtime provides access to Rocket.Chat's realtime API via ddp
Package realtime provides access to Rocket.Chat's realtime API via ddp
Package rest provides a RocketChat rest client.
Package rest provides a RocketChat rest client.

Jump to

Keyboard shortcuts

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