Documentation ¶
Index ¶
- type NorthAmericanIndustryClassificationSystemController
- type NorthAmericanIndustryClassificationSystemControllerImpl
- func (c *NorthAmericanIndustryClassificationSystemControllerImpl) GetByID(ctx context.Context, id primitive.ObjectID) (*naics_s.NorthAmericanIndustryClassificationSystem, error)
- func (c *NorthAmericanIndustryClassificationSystemControllerImpl) ListAndCountByFilter(ctx context.Context, ...) (*t_s.NorthAmericanIndustryClassificationSystemPaginationListAndCountResult, ...)
- func (c *NorthAmericanIndustryClassificationSystemControllerImpl) ListAsSelectOptionByFilter(ctx context.Context, ...) ([]*naics_s.NorthAmericanIndustryClassificationSystemAsSelectOption, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NorthAmericanIndustryClassificationSystemController ¶
type NorthAmericanIndustryClassificationSystemController interface { GetByID(ctx context.Context, id primitive.ObjectID) (*naics_s.NorthAmericanIndustryClassificationSystem, error) ListAndCountByFilter(ctx context.Context, f *naics_s.NorthAmericanIndustryClassificationSystemPaginationListFilter) (*naics_s.NorthAmericanIndustryClassificationSystemPaginationListAndCountResult, error) ListAsSelectOptionByFilter(ctx context.Context, f *naics_s.NorthAmericanIndustryClassificationSystemPaginationListFilter) ([]*naics_s.NorthAmericanIndustryClassificationSystemAsSelectOption, error) }
NorthAmericanIndustryClassificationSystemController Interface for naics business logic controller.
func NewController ¶
func NewController( appCfg *config.Conf, loggerp *slog.Logger, uuidp uuid.Provider, kmux kmutex.Provider, s3 s3_storage.S3Storager, passwordp password.Provider, client *mongo.Client, temailer templatedemailer.TemplatedEmailer, usr_storer user_s.UserStorer, c_storer c_s.CustomerStorer, a_storer a_s.AssociateStorer, s_storer s_s.StaffStorer, o_storer o_s.OrderStorer, ti_storer ti_s.TaskItemStorer, naics_s naics_s.NorthAmericanIndustryClassificationSystemStorer, ) NorthAmericanIndustryClassificationSystemController
type NorthAmericanIndustryClassificationSystemControllerImpl ¶
type NorthAmericanIndustryClassificationSystemControllerImpl struct { Config *config.Conf Logger *slog.Logger UUID uuid.Provider S3 s3_storage.S3Storager Password password.Provider Kmutex kmutex.Provider DbClient *mongo.Client UserStorer user_s.UserStorer CustomerStorer c_s.CustomerStorer AssociateStorer a_s.AssociateStorer StaffStorer s_s.StaffStorer OrderStorer o_s.OrderStorer TaskItemStorer ti_s.TaskItemStorer NorthAmericanIndustryClassificationSystemStorer naics_s.NorthAmericanIndustryClassificationSystemStorer TemplatedEmailer templatedemailer.TemplatedEmailer }
func (*NorthAmericanIndustryClassificationSystemControllerImpl) GetByID ¶
func (c *NorthAmericanIndustryClassificationSystemControllerImpl) GetByID(ctx context.Context, id primitive.ObjectID) (*naics_s.NorthAmericanIndustryClassificationSystem, error)
func (*NorthAmericanIndustryClassificationSystemControllerImpl) ListAndCountByFilter ¶
func (*NorthAmericanIndustryClassificationSystemControllerImpl) ListAsSelectOptionByFilter ¶
func (c *NorthAmericanIndustryClassificationSystemControllerImpl) ListAsSelectOptionByFilter(ctx context.Context, f *naics_s.NorthAmericanIndustryClassificationSystemPaginationListFilter) ([]*naics_s.NorthAmericanIndustryClassificationSystemAsSelectOption, error)
Click to show internal directories.
Click to hide internal directories.