{"modulePath":"github.com/devsisters/conveyor","version":"v0.0.10","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package github\n\n## Types\n\n```go\ntype Server struct {\n\tQueue conveyor.BuildQueue\n\t// contains filtered or unexported fields\n}\n```\nServer implements the http.Handler interface for serving build requests via GitHub webhooks.\n\n```go\nfunc NewServer(q conveyor.BuildQueue) *Server\n```\nNewServer returns a new http.Handler for serving the GitHub webhooks.\n\n```go\nfunc (s *Server) Ping(w http.ResponseWriter, r *http.Request)\n```\nPing is an http.HandlerFunc that will handle the \\`ping\\` event from GitHub.\n\n```go\nfunc (s *Server) Push(w http.ResponseWriter, r *http.Request)\n```\nPush is an http.HandlerFunc that will handle the \\`push\\` event from GitHub.\n\n```go\nfunc (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)\n```\nServeHTTP implements the http.Handler interface.\n\n","path":"github.com/devsisters/conveyor/server/github","name":"github","synopsis":"","isRedistributable":true}
