Skip to content
Dan Ryan edited this page Jul 11, 2014 · 8 revisions

Setup

Hal uses Hipchat's XMPP gateway and so requires a user account to integrate with Hipchat. Be sure to create one before configuring the adapter. You will need the XMPP credentials, which can be found at https://my.hipchat.com/account/xmpp.

Usage

// blank import to register adapter
import _ "github.com/danryan/hal/adapter/hipchat"

Configuration

HAL_ADAPTER=hipchat

HAL_HIPCHAT_USER                # Hipchat username
                                # Default: none (required)
HAL_HIPCHAT_PASSWORD            # Hipchat password
                                # Default: none (required)
HAL_HIPCHAT_ROOMS               # A comma-separated list of rooms to join
                                # Default: none (optional)
HAL_HIPCHAT_RESOURCE            # Hipchat resource
                                # Default: bot (optional)
                                # Note: if changed from "bot", hal will receive the channel history,
                                #   which could bring unintended side effects.

Clone this wiki locally