Documentation ¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func TestHandler ¶
Types ¶
type TestServer ¶
type TestServer struct {
// contains filtered or unexported fields
}
func ServerForTest ¶
func ServerForTest(t *testing.T, handler http.Handler) *TestServer
func (TestServer) Client ¶
func (ts TestServer) Client() *http.Client
func (TestServer) Config ¶
func (ts TestServer) Config() config.Config
Click to show internal directories.
Click to hide internal directories.