robification

package module
v0.0.0-...-92d75d7 Latest Latest
Warning

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

Go to latest
Published: May 29, 2016 License: Apache-2.0 Imports: 5 Imported by: 3

README

robification-go Build Status Go Report Card

A golang library which uses the RobiFication API to broadcast messages to Flowdock, Slack, HipChat, SMS.

Usage:

package main

import (
    "fmt"
    "github.com/josemrobles/robification-go"
)

func main() {
  yourMessage := robification.NewFdChat("YOUR_CHAT_API_TOKEN", "YOUR_MESSAGE")
  err := robification.Send(yourMessage)
  if err != nil {
    fmt.Println(err)
  }
}

Todo:

  • Concurrent messages and message types to multiple providers.
  • Better error handling
  • Tests

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFdChat

func NewFdChat(flowToken string, content string) *fdChat

func Send

func Send(p *fdChat) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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