Versions in this module Expand all Collapse all v1 v1.0.0 Nov 29, 2018 Changes in this version + func JSONMatcher(o1 interface{}) interface + func ToJSON(obj interface{}) []byte + type Handler interface + Handle func(method, path string, body []byte) Response + type MockHandler struct + func (m *MockHandler) Handle(method, path string, body []byte) Response + type OKHandler struct + func (r *OKHandler) Handle(method, path string, body []byte) Response + type Response struct + Body []byte + Header http.Header + Status int + type Server struct + func NewServer(handler Handler) *Server + func NewUnstartedServer(handler Handler) *Server + func (s *Server) Close() + func (s *Server) Start() + func (s *Server) URL() string