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 ¶ added in v0.3.7
func NewGithubHTTPHandler(cfg config.WebhookConfig, config config.Config, logger *zap.Logger) (http.HandlerFunc, error)
func NewZenhubHTTPHandler ¶ added in v0.3.7
func NewZenhubHTTPHandler(cfg config.WebhookConfig, config config.Config, logger *zap.Logger) (http.HandlerFunc, error)
Types ¶
type GitHubAppsClientFunc ¶ added in v0.2.0
type IssueTransfer ¶ added in v0.3.7
type IssueTransfer struct {
ZenhubAction
From string
To string
}
type ZenhubAction ¶ added in v0.3.7
func (ZenhubAction) GetIssue ¶ added in v0.3.7
func (z ZenhubAction) GetIssue() string
func (ZenhubAction) GetType ¶ added in v0.3.7
func (z ZenhubAction) GetType() string
type ZenhubIssue ¶ added in v0.3.7
type ZenhubIssue struct {
Pipeline ZenhubPipeline `json:"pipeline"`
IsEpic bool `json:"is_epic"`
}
{"plus_ones":[],"pipeline":{"name":"New Issues"},"is_epic":false}
type ZenhubPipeline ¶ added in v0.3.7
type ZenhubPipeline struct {
Name string `json:"name"`
}
Click to show internal directories.
Click to hide internal directories.