Versions in this module Expand all Collapse all v0 v0.10.2 Feb 13, 2024 Changes in this version + type Ctx struct + Store map[string]interface{} + type Request struct + Body []byte + Headers http.Header + Method string + Url string + func (req *Request) Validate() error + func (req Request) ToResponse() Response + type Response struct + Body []byte + Headers http.Header + Message string + Status int + type TestEnv struct + ClientReq Request + ClientRes Response + Ctx Ctx + ServiceReq Request + ServiceRes Response + func New(t *testing.T, req Request) (env *TestEnv, err error) + func (e *TestEnv) DoAccess(config interface{}) + func (e *TestEnv) DoCertificate(config interface{}) + func (e *TestEnv) DoHttp(config interface{}) + func (e *TestEnv) DoHttps(config interface{}) + func (e *TestEnv) DoLog(config interface{}) + func (e *TestEnv) DoPreread(config interface{}) + func (e *TestEnv) DoResponse(config interface{}) + func (e *TestEnv) DoRewrite(config interface{}) + func (e *TestEnv) DoStream(config interface{}) + func (e *TestEnv) DoTLS(config interface{}) + func (e *TestEnv) Errorf(format string, args ...interface{}) + func (e *TestEnv) Finish() + func (e *TestEnv) Handle(method string, args_d []byte) []byte + func (e *TestEnv) IsRunning() bool + func (e *TestEnv) SubscribeStatusChange(ch chan<- string)