Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder structure
func (*Builder) GetURL ¶
GetURL method prepare URL be adding required authentication parameter values
func (*Builder) SetOptions ¶
SetOptions method sets WooCommerce integration options to structure's inner variable
func (*Builder) SetQueryEnricher ¶
func (b *Builder) SetQueryEnricher(qe QueryEnricher)
SetQueryEnricher ...
type QueryEnricher ¶
type QueryEnricher interface {
GetEnrichedQuery(url string, query url.Values, req request.Request) url.Values
}
QueryEnricher uses package auth to enrich existing query parameters with Authentication Based ones
type QueryEnricherMock ¶
type QueryEnricherMock struct {
// contains filtered or unexported fields
}
QueryEnricherMock ...
func (*QueryEnricherMock) GetEnrichedQuery ¶
func (q *QueryEnricherMock) GetEnrichedQuery(url string, query URL.Values, req request.Request) URL.Values
GetEnrichedQuery ...
Click to show internal directories.
Click to hide internal directories.