Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartHttpServer ¶
func StartHttpServer(handlers []TestRequestHandler) (func(), string, error)
func StartHttpsServer ¶
func StartHttpsServer(handlers []TestRequestHandler) (func(), string, error)
func StartSocketHttpServer ¶
func StartSocketHttpServer(handlers []TestRequestHandler) (func(), string, error)
Types ¶
type TestRequestHandler ¶
type TestRequestHandler struct { Path string Handler func(w http.ResponseWriter, r *http.Request) }
Click to show internal directories.
Click to hide internal directories.