Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultTimeout = 60 * time.Second
DefaultTimeout for HTTP Requests
View Source
const LibraryVersion = "0.0.1"
LibraryVersion lists current sleet version following Semantic Versioning
Variables ¶
This section is empty.
Functions ¶
func DefaultHttpClient ¶
DefaultHttpClient returns an http client with defaultTimeout specified above
Types ¶
type Environment ¶ added in v1.0.317
type Environment string
Environment provides a common way of interacting with Sleet's PsP Sandbox refers to non-live, typically test accounts and Production to live accounts Done at the Sleet level to avoid clients having to import Payment specific data
const ( Sandbox Environment = "sandbox" Production Environment = "production" )
Only sandbox and production environments are supported
Click to show internal directories.
Click to hide internal directories.