Documentation ¶
Overview ¶
Package opencart implements opencart tenant client.
Index ¶
- Constants
- Variables
- type Client
- func (c *Client) CollectAllItems() ([]*models.Item, error)
- func (c *Client) CredentialsManager() oauth2.CredentialsManager
- func (c *Client) Daemon() models.Daemon
- func (c *Client) LoadItem(sku string) (*models.Item, error)
- func (c *Client) SaveItem(item *models.Item) error
- func (c *Client) Start() error
- type Config
Constants ¶
View Source
const Vendor = "OPENCART"
Variables ¶
View Source
var MessageNoResults = "No results!"
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { *models.BaseTenant DatabaseTenant *models.BaseDatabaseTenant Config *Config }
Client is a opencart client.
func (*Client) CollectAllItems ¶
CollectAllItems collects and returns all items registered in this client.
func (*Client) CredentialsManager ¶
func (c *Client) CredentialsManager() oauth2.CredentialsManager
Click to show internal directories.
Click to hide internal directories.