Documentation
¶
Index ¶
Constants ¶
View Source
const ( // EventHeader is the kafka header for webhook event type. EventHeader = "event_type" // RepoIDHeader is the kafka header for webhook repo_id. RepoIDHeader = "repo_id" // GitSCMHeader is the kafka header for webhook git_scm provider. GitSCMHeader = "git_driver" )
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(cfg *config.Config, parser core.HookParser, logger lumber.Logger) core.QueueConsumer
New return a new kafka producer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.