Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ExchangeName = "transactions_orders"
View Source
var Topics = []string{
"order.created",
}
Functions ¶
This section is empty.
Types ¶
type Integration ¶
type Integration struct { ID string `json:"id"` Name string `json:"name"` CompanyID string `json:"company_id"` Platform string `json:"platform"` PlatformUsername string `json:"platform_username"` PlatformToken string `json:"platform_token"` Active bool `json:"active"` }
func NewIntegration ¶
type IntegrationRepository ¶
type IntegrationRepository interface { // FindByCompanyIDAndPlatformID(companyID string, platformID string) (*Integration, error) // FindAllByCompanyID(companyID string) ([]*Integration, error) FindAllByCompanyIDAndActive(companyID string) ([]*Integration, error) // FindAllByCompanyIDAndPlatformID(companyID string, platformID string) ([]*Integration, error) Update(integration *Integration) error Create(integration *Integration) error Delete(id string) error }
Click to show internal directories.
Click to hide internal directories.