Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cloud66-oss/rb-halo

Ruby Client for Halo
https://github.com/cloud66-oss/rb-halo

logging ruby

Last synced: about 1 month ago
JSON representation

Ruby Client for Halo

Awesome Lists containing this project

README

        

# RbHalo

RbHalo is a Ruby client for Halo.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'rb-halo'
```

And then execute:

$ bundle

Or install it yourself as:

$ gem install rb-halo

## Usage

```ruby
client = RbHalo::Client.connect('host.acme.org')

client.log("key", "session", "payload")
# or
client.close_session("key", "session")
# then
client.close()
```

You can use the following options:

```
:tls -> Connect to a TLS enabled Halo server
:port -> Port (default is 15443)
:host -> Halo host (name or IP)
:token -> JWT if needed
```