message

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTextFromActivityItem

func GetTextFromActivityItem(activity *atlassian.ActivityItem) string

Types

type Message

type Message struct {
	SlackChannel string
	AsUser       config.SlackUser
	Text         string
}

func (Message) HtmlUnescapedText added in v1.1.1

func (m Message) HtmlUnescapedText() string

type MessageMatcher

type MessageMatcher interface {
	GetMatchingMessages([]*config.MessageTrigger, ...atlassian.ActivityIssue) []Message
}

func NewMessageMatcher

func NewMessageMatcher(cfg config.SlackConfig, user_image_urls map[string]string, custom_jira_fields ...config.CustomJiraFieldConfig) MessageMatcher

Jump to

Keyboard shortcuts

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