Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
Router is a GitHub webhook router which delegates webhook events received over HTTP to sub-routers.
func (*Router) ServeHTTP ¶
func (h *Router) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP implements http.Handler.
func (*Router) Unregister ¶
Unregister removes the GitHubSource served at the given path.
Click to show internal directories.
Click to hide internal directories.