Documentation ¶
Overview ¶
Package githubingest defines a framework for processing events from GitHub webhooks
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PubSubProcessor ¶
type PubSubProcessor struct { // Topic is The full private feed - events from all repositories (including private ones). Topic messagePublisher // PublicOnlyTopic is a feed of only events from public repositories. PublicOnlyTopic messagePublisher }
PubSubProcessor publishes pubsub events to the given topic for each processed event.
type Server ¶
type Server struct {
Processor processor
}
Server defines a handler for accepting GitHub web hooks and processing them.
Click to show internal directories.
Click to hide internal directories.