Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationService ¶
type ApplicationService interface {
Create(ctx context.Context, prd *entity.CardRequest) error
}
func NewApplicationService ¶
func NewApplicationService(db *bbolt.DB) ApplicationService
type CardService ¶
type CardService interface { FindAll(ctx context.Context) ([]entity.CachedCard, error) Activate(ctx context.Context, card entity.CachedCard) error }
func NewCardService ¶
func NewCardService(db *bbolt.DB) CardService
type ConfigService ¶
type ConfigService interface { Save(ctx context.Context, cfg *entity.Config) error FindByName(ctx context.Context, name string) (*entity.Config, error) FindAll(ctx context.Context) (*entity.ConfigList, error) }
func NewConfigService ¶
func NewConfigService(db *bbolt.DB) ConfigService
type OperationService ¶
type OperationService interface {
Create(ctx context.Context, opr entity.MakeOperationRequest) error
}
func NewOperationService ¶
func NewOperationService(db *bbolt.DB) OperationService
type ProductService ¶
type ProductService interface { Syns(ctx context.Context) error FindByNumber(ctx context.Context, product_number string) (*entity.Product, error) FindAll(ctx context.Context) (*entity.ProductList, error) FindAllAgents(ctx context.Context) (*entity.Agent, error) }
func NewProductService ¶
func NewProductService(db *bbolt.DB) ProductService
type TestCaseService ¶
type TestCaseService interface { Save(ctx context.Context, tc entity.TestCase) error FindById(ctx context.Context, id int64) (*entity.TestCase, error) FindAll(ctx context.Context) ([]entity.TestCase, error) }
func NewTestCaseService ¶
func NewTestCaseService(db *bbolt.DB) TestCaseService
Click to show internal directories.
Click to hide internal directories.