Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitlabHandler ¶
type GitlabHandler struct { MessageChannel string // contains filtered or unexported fields }
GitlabHandler to process gitlab events
func NewGitlabHandler ¶
func NewGitlabHandler(conf *config.Config, notifyChan chan notifier.Message) (*GitlabHandler, error)
NewGitlabHandler creates the handler to accept gitlab webhooks
func (*GitlabHandler) ServeHTTP ¶
func (h *GitlabHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP gets called each time the desired route is called from external
type IndexHandler ¶
type IndexHandler struct { }
IndexHandler to process gitlab events
func (*IndexHandler) ServeHTTP ¶
func (h *IndexHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.