Documentation ¶
Index ¶
- func StartGitalyServer(t *testing.T) (string, func())
- func StartHttpServer(t *testing.T, handlers []TestRequestHandler) (string, func())
- func StartHttpsServer(t *testing.T, handlers []TestRequestHandler) (string, func())
- func StartSocketHttpServer(t *testing.T, handlers []TestRequestHandler) (string, func())
- type TestRequestHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartGitalyServer ¶
func StartHttpServer ¶
func StartHttpServer(t *testing.T, handlers []TestRequestHandler) (string, func())
func StartHttpsServer ¶
func StartHttpsServer(t *testing.T, handlers []TestRequestHandler) (string, func())
func StartSocketHttpServer ¶
func StartSocketHttpServer(t *testing.T, handlers []TestRequestHandler) (string, func())
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.