{"modulePath":"github.com/RedAFD/code-core","version":"v1.8.3","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package notification\n\n## Functions\n\n```go\nfunc NotifyCreateIssueComment(doer *models.User, repo *models.Repository,\n\tissue *models.Issue, comment *models.Comment)\n```\nNotifyCreateIssueComment notifies issue comment related message to notifiers\n\n```go\nfunc NotifyCreateRepository(doer *models.User, u *models.User, repo *models.Repository)\n```\nNotifyCreateRepository notifies create repository to notifiers\n\n```go\nfunc NotifyDeleteComment(doer *models.User, c *models.Comment)\n```\nNotifyDeleteComment notifies delete comment to notifiers\n\n```go\nfunc NotifyDeleteRelease(doer *models.User, rel *models.Release)\n```\nNotifyDeleteRelease notifies delete release to notifiers\n\n```go\nfunc NotifyDeleteRepository(doer *models.User, repo *models.Repository)\n```\nNotifyDeleteRepository notifies delete repository to notifiers\n\n```go\nfunc NotifyForkRepository(doer *models.User, oldRepo, repo *models.Repository)\n```\nNotifyForkRepository notifies fork repository to notifiers\n\n```go\nfunc NotifyIssueChangeAssignee(doer *models.User, issue *models.Issue, removed bool)\n```\nNotifyIssueChangeAssignee notifies change content to notifiers\n\n```go\nfunc NotifyIssueChangeContent(doer *models.User, issue *models.Issue, oldContent string)\n```\nNotifyIssueChangeContent notifies change content to notifiers\n\n```go\nfunc NotifyIssueChangeLabels(doer *models.User, issue *models.Issue,\n\taddedLabels []*models.Label, removedLabels []*models.Label)\n```\nNotifyIssueChangeLabels notifies change labels to notifiers\n\n```go\nfunc NotifyIssueChangeMilestone(doer *models.User, issue *models.Issue)\n```\nNotifyIssueChangeMilestone notifies change milestone to notifiers\n\n```go\nfunc NotifyIssueChangeStatus(doer *models.User, issue *models.Issue, closeOrReopen bool)\n```\nNotifyIssueChangeStatus notifies close or reopen issue to notifiers\n\n```go\nfunc NotifyIssueChangeTitle(doer *models.User, issue *models.Issue, oldTitle string)\n```\nNotifyIssueChangeTitle notifies change title to notifiers\n\n```go\nfunc NotifyIssueClearLabels(doer *models.User, issue *models.Issue)\n```\nNotifyIssueClearLabels notifies clear labels to notifiers\n\n```go\nfunc NotifyMergePullRequest(pr *models.PullRequest, doer *models.User, baseGitRepo *git.Repository)\n```\nNotifyMergePullRequest notifies merge pull request to notifiers\n\n```go\nfunc NotifyMigrateRepository(doer *models.User, u *models.User, repo *models.Repository)\n```\nNotifyMigrateRepository notifies create repository to notifiers\n\n```go\nfunc NotifyNewIssue(issue *models.Issue)\n```\nNotifyNewIssue notifies new issue to notifiers\n\n```go\nfunc NotifyNewPullRequest(pr *models.PullRequest)\n```\nNotifyNewPullRequest notifies new pull request to notifiers\n\n```go\nfunc NotifyNewRelease(rel *models.Release)\n```\nNotifyNewRelease notifies new release to notifiers\n\n```go\nfunc NotifyPullRequestReview(pr *models.PullRequest, review *models.Review, comment *models.Comment)\n```\nNotifyPullRequestReview notifies new pull request review\n\n```go\nfunc NotifyUpdateComment(doer *models.User, c *models.Comment, oldContent string)\n```\nNotifyUpdateComment notifies update comment to notifiers\n\n```go\nfunc NotifyUpdateRelease(doer *models.User, rel *models.Release)\n```\nNotifyUpdateRelease notifies update release to notifiers\n\n```go\nfunc RegisterNotifier(notifier base.Notifier)\n```\nRegisterNotifier providers method to receive notify messages\n\n","path":"github.com/RedAFD/code-core/modules/notification","name":"notification","synopsis":"","isRedistributable":true}
