Documentation ¶ Index ¶ type Server func NewServer(verbose bool) *Server func (s *Server) AddRoutes(routes []httpd.Route) error func (s *Server) Close() error func (s *Server) DelRoutes(routes []httpd.Route) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Server ¶ type Server struct { Handler *httpd.Handler Server *httptest.Server } func NewServer ¶ func NewServer(verbose bool) *Server func (*Server) AddRoutes ¶ func (s *Server) AddRoutes(routes []httpd.Route) error func (*Server) Close ¶ func (s *Server) Close() error func (*Server) DelRoutes ¶ func (s *Server) DelRoutes(routes []httpd.Route) Source Files ¶ View all Source files server.go Click to show internal directories. Click to hide internal directories.