Documentation
¶
Index ¶
- type Count
- type Request
- type RequestMatcher
- type Requests
- type Response
- type Stub
- type Wiremock
- func (w *Wiremock) AddStub(stub Stub) error
- func (w *Wiremock) Address() string
- func (w *Wiremock) GetCount(requestMatcher RequestMatcher) (int, error)
- func (w *Wiremock) GetCountFn(requestMatcher RequestMatcher) func() (int, error)
- func (w *Wiremock) GetRequestBody(requestMatcher RequestMatcher) (string, error)
- func (w *Wiremock) Reset() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestMatcher ¶
type Stub ¶
type Stub struct { Request RequestMatcher `json:"request"` Response Response `json:"response"` }
type Wiremock ¶
type Wiremock struct {
// contains filtered or unexported fields
}
func (*Wiremock) GetCountFn ¶
func (w *Wiremock) GetCountFn(requestMatcher RequestMatcher) func() (int, error)
func (*Wiremock) GetRequestBody ¶
func (w *Wiremock) GetRequestBody(requestMatcher RequestMatcher) (string, error)
Click to show internal directories.
Click to hide internal directories.