jira

package
v0.0.0-...-670e2da Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JIRA

type JIRA struct {
	*goJira.Client
	// contains filtered or unexported fields
}

JIRA connection

func New

func New(ctx context.Context, url, username, password string, chat *chat.Service) *JIRA

New JIRA connection

func (*JIRA) BuildMessage

func (j *JIRA) BuildMessage(ctx context.Context, issue string, msg *chat.Message) (*chat.Message, error)

BuildMessage for issue

func (*JIRA) Callback

func (j *JIRA) Callback(ctx context.Context, m *pubsub.Message)

Callback for PubSub messages

Jump to

Keyboard shortcuts

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