notification

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: May 8, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NotifyCreateIssueComment

func NotifyCreateIssueComment(doer *models.User, repo *models.Repository,
	issue *models.Issue, comment *models.Comment)

NotifyCreateIssueComment notifies issue comment related message to notifiers

func NotifyCreateRepository

func NotifyCreateRepository(doer *models.User, u *models.User, repo *models.Repository)

NotifyCreateRepository notifies create repository to notifiers

func NotifyDeleteComment

func NotifyDeleteComment(doer *models.User, c *models.Comment)

NotifyDeleteComment notifies delete comment to notifiers

func NotifyDeleteRelease

func NotifyDeleteRelease(doer *models.User, rel *models.Release)

NotifyDeleteRelease notifies delete release to notifiers

func NotifyDeleteRepository

func NotifyDeleteRepository(doer *models.User, repo *models.Repository)

NotifyDeleteRepository notifies delete repository to notifiers

func NotifyForkRepository

func NotifyForkRepository(doer *models.User, oldRepo, repo *models.Repository)

NotifyForkRepository notifies fork repository to notifiers

func NotifyIssueChangeAssignee

func NotifyIssueChangeAssignee(doer *models.User, issue *models.Issue, removed bool)

NotifyIssueChangeAssignee notifies change content to notifiers

func NotifyIssueChangeContent

func NotifyIssueChangeContent(doer *models.User, issue *models.Issue, oldContent string)

NotifyIssueChangeContent notifies change content to notifiers

func NotifyIssueChangeLabels

func NotifyIssueChangeLabels(doer *models.User, issue *models.Issue,
	addedLabels []*models.Label, removedLabels []*models.Label)

NotifyIssueChangeLabels notifies change labels to notifiers

func NotifyIssueChangeMilestone

func NotifyIssueChangeMilestone(doer *models.User, issue *models.Issue)

NotifyIssueChangeMilestone notifies change milestone to notifiers

func NotifyIssueChangeStatus

func NotifyIssueChangeStatus(doer *models.User, issue *models.Issue, closeOrReopen bool)

NotifyIssueChangeStatus notifies close or reopen issue to notifiers

func NotifyIssueChangeTitle

func NotifyIssueChangeTitle(doer *models.User, issue *models.Issue, oldTitle string)

NotifyIssueChangeTitle notifies change title to notifiers

func NotifyIssueClearLabels

func NotifyIssueClearLabels(doer *models.User, issue *models.Issue)

NotifyIssueClearLabels notifies clear labels to notifiers

func NotifyMergePullRequest

func NotifyMergePullRequest(pr *models.PullRequest, doer *models.User, baseGitRepo *git.Repository)

NotifyMergePullRequest notifies merge pull request to notifiers

func NotifyMigrateRepository

func NotifyMigrateRepository(doer *models.User, u *models.User, repo *models.Repository)

NotifyMigrateRepository notifies create repository to notifiers

func NotifyNewIssue

func NotifyNewIssue(issue *models.Issue)

NotifyNewIssue notifies new issue to notifiers

func NotifyNewPullRequest

func NotifyNewPullRequest(pr *models.PullRequest)

NotifyNewPullRequest notifies new pull request to notifiers

func NotifyNewRelease

func NotifyNewRelease(rel *models.Release)

NotifyNewRelease notifies new release to notifiers

func NotifyPullRequestReview

func NotifyPullRequestReview(pr *models.PullRequest, review *models.Review, comment *models.Comment)

NotifyPullRequestReview notifies new pull request review

func NotifyUpdateComment

func NotifyUpdateComment(doer *models.User, c *models.Comment, oldContent string)

NotifyUpdateComment notifies update comment to notifiers

func NotifyUpdateRelease

func NotifyUpdateRelease(doer *models.User, rel *models.Release)

NotifyUpdateRelease notifies update release to notifiers

func RegisterNotifier

func RegisterNotifier(notifier base.Notifier)

RegisterNotifier providers method to receive notify messages

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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