Versions in this module Expand all Collapse all v1 v1.3.1 Nov 29, 2019 Changes in this version + const Anything + type Expectation struct + func (e *Expectation) Handle(fn http.HandlerFunc) + func (e *Expectation) Header(k, v string) *Expectation + func (e *Expectation) Returns(status int, body []byte) + func (e *Expectation) ReturnsStatus(status int) + func (e *Expectation) ReturnsString(status int, body string) + func (e *Expectation) Times(times int) *Expectation + type Server struct + func NewServer(t *testing.T) *Server + func (s *Server) AssertExpectations() + func (s *Server) Close() + func (s *Server) On(method, path string) *Expectation + func (s *Server) URL() string