-
Notifications
You must be signed in to change notification settings - Fork 34
Hipchat Adapter
Dan Ryan edited this page Jul 11, 2014
·
8 revisions
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.
// blank import to register adapter
import _ "github.com/danryan/hal/adapter/hipchat"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.