Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { *httptest.Server ValidRepo string NotAllowedRepo string // contains filtered or unexported fields }
Server is an HTTP listener able to respond to git endpoints
func NewUnstartedServer ¶
NewUnstartedServer creates a new server but doesn't start it
func (*Server) Handler ¶
func (s *Server) Handler() *pat.PatternServeMux
Handler is all the http routes required
Click to show internal directories.
Click to hide internal directories.