Versions in this module Expand all Collapse all v0 v0.0.2 Jan 8, 2025 v0.0.1 Jan 4, 2025 Changes in this version + func CreateUtRequestContext(method, url string, body *Body, headers ...Header) *app.RequestContext + type Body struct + Body io.Reader + Len int + type Header struct + Key string + Value string + type ResponseRecorder struct + Body *bytes.Buffer + Code int + Flushed bool + func NewRecorder() *ResponseRecorder + func PerformRequest(engine *route.Engine, method, url string, body *Body, headers ...Header) *ResponseRecorder + func (rw *ResponseRecorder) Flush() + func (rw *ResponseRecorder) Header() *protocol.ResponseHeader + func (rw *ResponseRecorder) Result() *protocol.Response + func (rw *ResponseRecorder) Write(buf []byte) (int, error) + func (rw *ResponseRecorder) WriteHeader(code int) + func (rw *ResponseRecorder) WriteString(str string) (int, error)