Documentation
¶
Index ¶
- func NewGithubHTTPHandler(cfg config.WebhookConfig, config config.Config, logger *zap.Logger) (http.HandlerFunc, error)
- func NewZenhubHTTPHandler(cfg config.WebhookConfig, config config.Config, logger *zap.Logger) (http.HandlerFunc, error)
- type GitHubAppsClientFunc
- type Handler
- type IssueTransfer
- type Zenhub
- type ZenhubAction
- type ZenhubIssue
- type ZenhubPipeline
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGithubHTTPHandler ¶
func NewGithubHTTPHandler(cfg config.WebhookConfig, config config.Config, logger *zap.Logger) (http.HandlerFunc, error)
func NewZenhubHTTPHandler ¶
func NewZenhubHTTPHandler(cfg config.WebhookConfig, config config.Config, logger *zap.Logger) (http.HandlerFunc, error)
Types ¶
type GitHubAppsClientFunc ¶
type IssueTransfer ¶
type IssueTransfer struct {
ZenhubAction
From string
To string
}
type ZenhubAction ¶
func (ZenhubAction) GetIssue ¶
func (z ZenhubAction) GetIssue() string
func (ZenhubAction) GetType ¶
func (z ZenhubAction) GetType() string
type ZenhubIssue ¶
type ZenhubIssue struct {
Pipeline ZenhubPipeline `json:"pipeline"`
IsEpic bool `json:"is_epic"`
}
{"plus_ones":[],"pipeline":{"name":"New Issues"},"is_epic":false}
type ZenhubPipeline ¶
type ZenhubPipeline struct {
Name string `json:"name"`
}
Click to show internal directories.
Click to hide internal directories.