Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is the handler for GitHub WebHooks.
func NewController ¶
func NewController(config config.Config) (*Controller, error)
NewController returns a new build controller.
func (*Controller) Handler ¶
func (c *Controller) Handler(payload []byte) (interface{}, error)
Handler is the entrance of the GitHub Webhooks POST information.
Click to show internal directories.
Click to hide internal directories.