Documentation
¶
Index ¶
- type MockBackend
- func (m *MockBackend) Call(method, path, key string, params stripe.ParamsContainer, ...) error
- func (m *MockBackend) CallMultipart(method, path, key, boundary string, body *bytes.Buffer, params *stripe.Params, ...) error
- func (m *MockBackend) CallRaw(method, path, key string, body []byte, params *stripe.Params, ...) error
- func (m *MockBackend) CallStreaming(method, path, key string, params stripe.ParamsContainer, ...) error
- func (m *MockBackend) SetMaxNetworkRetries(maxNetworkRetries int64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBackend ¶
type MockBackend struct{}
MockBackend is a no-op Stripe backend used in integration tests.
func (*MockBackend) Call ¶
func (m *MockBackend) Call(method, path, key string, params stripe.ParamsContainer, v stripe.LastResponseSetter) error
func (*MockBackend) CallMultipart ¶
func (m *MockBackend) CallMultipart(method, path, key, boundary string, body *bytes.Buffer, params *stripe.Params, v stripe.LastResponseSetter) error
func (*MockBackend) CallRaw ¶
func (m *MockBackend) CallRaw(method, path, key string, body []byte, params *stripe.Params, v stripe.LastResponseSetter) error
func (*MockBackend) CallStreaming ¶
func (m *MockBackend) CallStreaming(method, path, key string, params stripe.ParamsContainer, v stripe.StreamingLastResponseSetter) error
func (*MockBackend) SetMaxNetworkRetries ¶
func (m *MockBackend) SetMaxNetworkRetries(maxNetworkRetries int64)
Click to show internal directories.
Click to hide internal directories.