helper

package
v0.0.0-...-39a621f Latest Latest
Warning

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

Go to latest
Published: May 9, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetChannelID

func GetChannelID(api *slack.Slack, r horenso.Report, channelName string) string

GetChannelID get Slack channel ID by channel name

func GetGroupID

func GetGroupID(api *slack.Slack, r horenso.Report, groupName string) string

GetGroupID get Slack group ID by group name

func GetID

func GetID(api *slack.Slack, r horenso.Report, channelName string, groupName string) string

GetID get Slack channel ID or group ID

func GetMessage

func GetMessage(r horenso.Report, mention string) string

GetMessage get message

func GetReport

func GetReport(f *os.File) horenso.Report

GetReport get horenso report via STDIN

func Getenvs

func Getenvs() (string, string, string, string, []string, bool)

Getenvs get environment varibles

Types

This section is empty.

Jump to

Keyboard shortcuts

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