Documentation ¶
Index ¶
Constants ¶
View Source
const ( Austria = "https://marketplace.also.at" Switzerland = "https://marketplace.also.ch" Germany = "https://marketplace.also.de" Denmark = "https://marketplace.also.dk" Estonia = "https://marketplace.also.ee" Finland = "https://marketplace.also.fi" Lithuania = "https://marketplace.also.lt" Netherlands = "https://marketplace.also.nl" Norway = "https://marketplace.also.no" Sweden = "https://marketplace.also.se" Slovenia = "https://marketplace.also.si" France = "https://marketplace.alsofrance.fr" Latvia = "https://marketplace.alsolatvia.lv" Poland = "https://marketplace.alsopolska.pl" Debug = "https://marketplacetest.ccpaas.net" )
Constants for different marketplaces For Testing use Debug
View Source
const (
Version = "1.0.0"
)
const Version shows the version of the wrapper
Variables ¶
View Source
var DefaultHTTPClient = &http.Client{ Jar: nil, Transport: DefaultHTTPTransport, }
DefaultHTTPClient is an http.Client with the DefaultHTTPTransport and (Cookie) Jar set nil.
DefaultHTTPTransport is an http.RoundTripper that has DisableKeepAlives set true.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents the struct for building the client
func NewClient ¶
func NewClient(marketplace string, apiUser string, apiPassword string, options *Options) (*Client, error)
NewClient creates a new instance of client
Click to show internal directories.
Click to hide internal directories.