httpdtest

package
v1.7.6 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 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