Documentation ¶
Index ¶
- type Service
- func (s *Service) BuildContributors(repos []*model.Repo) (err error)
- func (s *Service) Close()
- func (s *Service) CollectWachatUsers(c context.Context) (err error)
- func (s *Service) HandleBuildContributors(c context.Context, repo *model.RepoInfo) (err error)
- func (s *Service) HandleGitlabComment(c context.Context, event *model.HookComment) (err error)
- func (s *Service) MergeRequest(c context.Context, event *model.HookMR) (err error)
- func (s *Service) Ping(c context.Context) (err error)
- func (s *Service) PipelineChanged(c context.Context, event *model.HookPipeline) (err error)
- func (s *Service) ReportMRRoleInfo(c context.Context, authBranch string, event *model.HookMR) (err error)
- func (s *Service) ReportSuperRoleInfo(c context.Context, superUsers []string, event *model.HookMR) (err error)
- func (s *Service) ShowMRRoleInfo(c context.Context, authBranch string, repo *model.Repo, event *model.HookMR) (err error)
- func (s *Service) SyncContacts(c context.Context) (err error)
- func (s *Service) Wait()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service biz service def.
func (*Service) BuildContributors ¶
BuildContributors ...
func (*Service) CollectWachatUsers ¶
CollectWachatUsers send required wechat visible users stored in memcache by email
func (*Service) HandleBuildContributors ¶
HandleBuildContributors ...
func (*Service) HandleGitlabComment ¶
HandleGitlabComment handle comment webhook
func (*Service) MergeRequest ¶
MergeRequest ...
func (*Service) PipelineChanged ¶
PipelineChanged handle pipeline changed webhook
func (*Service) ReportMRRoleInfo ¶
func (s *Service) ReportMRRoleInfo(c context.Context, authBranch string, event *model.HookMR) (err error)
ReportMRRoleInfo ...
func (*Service) ReportSuperRoleInfo ¶
func (s *Service) ReportSuperRoleInfo(c context.Context, superUsers []string, event *model.HookMR) (err error)
ReportSuperRoleInfo ...
func (*Service) ShowMRRoleInfo ¶
func (s *Service) ShowMRRoleInfo(c context.Context, authBranch string, repo *model.Repo, event *model.HookMR) (err error)
ShowMRRoleInfo ...
func (*Service) SyncContacts ¶
SyncContacts sync the wechat contacts
Source Files ¶
Click to show internal directories.
Click to hide internal directories.