Versions in this module Expand all Collapse all v0 v0.1.0 Mar 1, 2023 Changes in this version + type OrderPostgreSQL struct + func NewOrderPostgreSQL(db *pgxpool.Pool, logger metrics.Logger) *OrderPostgreSQL + func (r *OrderPostgreSQL) GetOrder(orderMarketplaceId string) (*entity.Order, error) + func (r *OrderPostgreSQL) RegisterOrder(o *entity.Order) error + type StorePostgreSQL struct + func NewStorePostgreSQL(db *pgxpool.Pool, logger metrics.Logger) *StorePostgreSQL + func (r *StorePostgreSQL) Create(e *entity.Store) (entity.ID, error) + func (r *StorePostgreSQL) Delete(id entity.ID) error + func (r *StorePostgreSQL) Get(id string) (*entity.Store, error) + func (r *StorePostgreSQL) RegisterMeliCredential(id entity.ID, c *common.MeliCredential) error + func (r *StorePostgreSQL) RetrieveMeliCredentialsFromMeliUserID(id string) (*entity.ID, *common.MeliCredential, error) + func (r *StorePostgreSQL) RetrieveMeliCredentialsFromStoreID(id entity.ID) (*common.MeliCredential, error) + func (r *StorePostgreSQL) Update(e *entity.Store) error + func (r *StorePostgreSQL) UpdateMeliCredentials(id entity.ID, c *common.MeliCredential) error