Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Status *statusService // contains filtered or unexported fields }
Client is the campay API client. Do not instantiate this client with Client{}. Use the New method instead.
type HTTPStatus ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option is options for constructing a client
func WithBaseURL ¶
WithBaseURL set's the base url for the flutterwave API
func WithDelay ¶
WithDelay sets the delay in milliseconds before a response is gotten. The delay must be > 0 for it to be used.
func WithHTTPClient ¶
WithHTTPClient sets the underlying HTTP client used for API requests. By default, http.DefaultClient is used.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.