Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func FileResponse ¶
func FileResponse() http.HandlerFunc
func JSONResponse ¶
func JSONResponse(filename string) http.HandlerFunc
func MutatingResponse ¶
Types ¶
type Registry ¶
type Registry struct { Client *openapi.APIClient Mux *http.ServeMux Port int Teardown func() Requests []*http.Request // contains filtered or unexported fields }
func NewRegistry ¶
func (*Registry) RegisterStub ¶
type Stub ¶
type Stub struct { URL string Responder http.HandlerFunc // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.