httpdtest

package
v1.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL