Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface {
Notif(ic business.InternalContext, spec WebhookNotifSpec) (err error)
}
func NewService ¶
func NewService(WebhookSetting *config.WebhookSetting) Service
type WebhookNotifSpec ¶
type WebhookNotifSpec struct { WebhookProvider business.WebhookProvider `validate:"required"` RepoName string `validate:"required"` BranchName string `validate:"required"` Author string `validate:"required"` }
Click to show internal directories.
Click to hide internal directories.