Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService struct {
UserRepo repository.UserRepository
}
func NewAuthService ¶
func NewAuthService(userRepo repository.UserRepository) *AuthService
func (*AuthService) Authenticate ¶
func (s *AuthService) Authenticate(username, password string) (string, error)
type BillingService ¶
type BillingService struct {
BillingRepo *repository.BillingRepository
}
func NewBillingService ¶
func NewBillingService(billingRepo *repository.BillingRepository) *BillingService
func (*BillingService) FindAllWithRelations ¶
func (s *BillingService) FindAllWithRelations(page, pageSize int) ([]model.Billing, error)
type CreateUserService ¶
type CreateUserService struct {
CreateUserRepo *repository.UserRepository
}
func NewCreateUserService ¶
func NewCreateUserService(createUserRepo *repository.UserRepository) *CreateUserService
type ImportService ¶
type ImportService struct {
PartnerRepo *repository.PartnerRepository
CustomerRepo *repository.CustomerRepository
ProductRepo *repository.ProductRepository
SkuRepo *repository.SkuRepository
EntitlementRepo *repository.EntitlementRepository
BillingRepo *repository.BillingRepository
DB *gorm.DB
}
func (*ImportService) ImportCSV ¶
func (s *ImportService) ImportCSV(filename string) error
Click to show internal directories.
Click to hide internal directories.