func Gitter(config *config.Configuration) (*gitter.Stream, error) { auth, _ := config.String("gitter.auth") room, _ := config.String("gitter.room") return gitter.OpenStream( auth, room, ) }
func Slack(config *config.Configuration) *api.Slack { slackApi, _ := config.String("slack.auth") slack := api.New(slackApi) return slack }