Documentation
¶
Index ¶
- type Synchronize
- func (sc *Synchronize) HandleSyncIssueComment(org, repo string, e *github.IssueCommentEvent, cfg *config.BotConfig) error
- func (sc *Synchronize) HandleSyncIssueStatus(org, repo string, issue *github.Issue, cfg *config.BotConfig) error
- func (sc *Synchronize) HandleSyncIssueToGitee(org, repo string, e *github.Issue, cfg *config.BotConfig) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Synchronize ¶
type Synchronize struct {
utils.HttpClient
Endpoint *url.URL
// contains filtered or unexported fields
}
Synchronize the sync calling the sync service
func NewSynchronize ¶
func (*Synchronize) HandleSyncIssueComment ¶
func (sc *Synchronize) HandleSyncIssueComment(org, repo string, e *github.IssueCommentEvent, cfg *config.BotConfig) error
HandleSyncIssueComment synchronize the comments of the gitee platform Issue to the Github platform
func (*Synchronize) HandleSyncIssueStatus ¶
func (*Synchronize) HandleSyncIssueToGitee ¶
func (sc *Synchronize) HandleSyncIssueToGitee(org, repo string, e *github.Issue, cfg *config.BotConfig) error
HandleSyncIssueToGitHub synchronize the Issue of the gitee platform to the Github platform
Click to show internal directories.
Click to hide internal directories.