Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(recorderPath string) aurestclientapi.Client
New builds a new http client simulator based on playback.
Use this in your tests.
Types ¶
type PlaybackImpl ¶
type PlaybackImpl struct {
RecorderPath string
}
func (*PlaybackImpl) Perform ¶
func (c *PlaybackImpl) Perform(_ context.Context, method string, requestUrl string, _ interface{}, response *aurestclientapi.ParsedResponse) error
Click to show internal directories.
Click to hide internal directories.