Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidProvider is used when the provider is invalid ErrInvalidProvider = errors.New("invalid provider selected, please choose a valid provider") )
Functions ¶
This section is empty.
Types ¶
type HelloFresh ¶
type HelloFresh struct {
// contains filtered or unexported fields
}
HelloFresh represents a provider
func NewHelloFresh ¶
func NewHelloFresh(url string) *HelloFresh
NewHelloFresh creates a new instance of HelloFresh
type HelloFreshClient ¶
type HelloFreshClient struct { ID uuid.UUID `json:"id"` Secret string `json:"secret"` Extra string `json:"extra"` RedirectURI string `json:"redirect_uri"` }
HelloFreshClient represents the hellofresh client
func (*HelloFreshClient) GetID ¶
func (c *HelloFreshClient) GetID() string
GetID retrieves the client's ID
func (*HelloFreshClient) GetSecret ¶
func (c *HelloFreshClient) GetSecret() string
GetSecret retrieves the client's secret
Click to show internal directories.
Click to hide internal directories.