Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { Queue conveyor.BuildQueue // contains filtered or unexported fields }
Server implements the http.Handler interface for serving build requests via GitHub webhooks.
func NewServer ¶
func NewServer(q conveyor.BuildQueue) *Server
NewServer returns a new http.Handler for serving the GitHub webhooks.
func (*Server) Ping ¶
func (s *Server) Ping(w http.ResponseWriter, r *http.Request)
Ping is an http.HandlerFunc that will handle the `ping` event from GitHub.
Click to show internal directories.
Click to hide internal directories.