Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
TestSocket = path.Join(tempDir, "internal.sock")
)
Functions ¶
func StartSocketHttpServer ¶
func StartSocketHttpServer(handlers []TestRequestHandler) (func(), 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.