Documentation ¶
Index ¶
- type DBStore
- func (d *DBStore) AddDebt(debt *debt.Debt) error
- func (d *DBStore) AddUser(_ context.Context, user *userDomain.User) error
- func (d *DBStore) GetUser(_ context.Context, id string) (*userDomain.User, error)
- func (d *DBStore) ListDebtsForOrderID(orderID string) ([]*debt.Debt, error)
- func (d *DBStore) ListUsers(_ context.Context, filter userDomain.ListFilter) ([]*userDomain.User, error)
- func (d *DBStore) RemoveDebtInOrderID(orderID, debtID string) error
- func (d *DBStore) SaveOrder(_ context.Context, order *order.Order) error
- type ExecError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBStore ¶
type DBStore struct {
// contains filtered or unexported fields
}
func (*DBStore) ListDebtsForOrderID ¶
func (*DBStore) ListUsers ¶
func (d *DBStore) ListUsers(_ context.Context, filter userDomain.ListFilter) ([]*userDomain.User, error)
func (*DBStore) RemoveDebtInOrderID ¶
Click to show internal directories.
Click to hide internal directories.