Documentation ¶
Index ¶
Constants ¶
View Source
const ( BaseURL = "https://api.vipps.no" BaseURLTesting = "https://apitest.vipps.no" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConfig ¶
type ClientConfig struct { Environment Environment Logger log.Logger HTTPClient *http.Client }
ClientConfig represents the configuration to use for a Client
type Credentials ¶
Credentials represents secrets used to authenticate and authorize a client to the Vipps APIs.
type Environment ¶
type Environment string
Environment is the Vipps environment that a Client should use.
const (
EnvironmentTesting Environment = "testing"
)
List of values that Environment can take.
type ErrUnexpectedResponse ¶
ErrUnexpectedResponse represents an unexpected erroneous response from the Vipps APIs.
func (ErrUnexpectedResponse) Error ¶
func (e ErrUnexpectedResponse) Error() string
Directories ¶
Path | Synopsis |
---|---|
_examples
|
|
Package auth provides a HTTP client suitable for consuming Vipps APIs.
|
Package auth provides a HTTP client suitable for consuming Vipps APIs. |
Package ecom provides a Client and supporting types to consume and interact with the Vipps Ecom V2 API
|
Package ecom provides a Client and supporting types to consume and interact with the Vipps Ecom V2 API |
Package recurring provides a Client and supporting types to consume and interact with the Vipps Recurring Payments API
|
Package recurring provides a Client and supporting types to consume and interact with the Vipps Recurring Payments API |
Click to show internal directories.
Click to hide internal directories.