Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BalanceService ¶
type BalanceService struct {
// contains filtered or unexported fields
}
func NewBalanceService ¶
func NewBalanceService(storage BalanceStorage, log logger.Logger) *BalanceService
func (*BalanceService) GetBalance ¶
type BalanceStorage ¶
type SplitTheBillService ¶
type SplitTheBillService struct {
// contains filtered or unexported fields
}
func NewSplitTheBillService ¶
func NewSplitTheBillService(storage SplitTheBillStorage) *SplitTheBillService
type SplitTheBillStorage ¶
type SplitTheBillStorage interface { // User CreateUser(context.Context, string) (models.UserID, error) // Bill SaveSplittedBill(context.Context, models.UserID, models.Bill) (models.BillID, error) ListUserBills(context.Context, models.UserID) ([]models.Bill, error) GetBills(context.Context, []models.BillID) ([]models.Bill, error) DeleteBills(context.Context, []models.BillID) ([]models.Bill, error) }
Click to show internal directories.
Click to hide internal directories.