Documentation ¶
Index ¶
- type CallRecord
- type Calls
- func (c *Calls) GetCalls(method, path string) [][]byte
- func (c *Calls) PrintCalls()
- func (c *Calls) Register(method, path string, request []byte)
- func (c *Calls) WasCalled(method, path string, expectedRequest []byte) bool
- func (c *Calls) WasCalledRegex(methodRegex, pathRegex string, expectedRequest []byte) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallRecord ¶
type CallRecord struct {
// contains filtered or unexported fields
}
type Calls ¶
type Calls []CallRecord
func (*Calls) PrintCalls ¶
func (c *Calls) PrintCalls()
Click to show internal directories.
Click to hide internal directories.