Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivitySheetController ¶
type ActivitySheetController interface { // Create(ctx context.Context, m *ActivitySheetCreateRequestIDO) (*as_s.ActivitySheet, error) GetByID(ctx context.Context, id primitive.ObjectID) (*as_s.ActivitySheet, error) // UpdateByID(ctx context.Context, req *ActivitySheetUpdateRequestIDO) (*as_s.ActivitySheet, error) // ListByFilter(ctx context.Context, f *as_s.ActivitySheetPaginationListFilter) (*as_s.ActivitySheetListResult, error) LiteListByFilter(ctx context.Context, f *as_s.ActivitySheetPaginationListFilter) (*as_s.ActivitySheetPaginationLiteListResult, error) }
ActivitySheetController Interface for customer business logic controller.
func NewController ¶
func NewController( appCfg *config.Conf, loggerp *slog.Logger, uuidp uuid.Provider, s3 s3_storage.S3Storager, passwordp password.Provider, kmux kmutex.Provider, temailer templatedemailer.TemplatedEmailer, client *mongo.Client, com_storer com_s.CommentStorer, hh_storer hh_s.HowHearAboutUsItemStorer, t_storer t_s.TagStorer, usr_storer user_s.UserStorer, c_storer c_s.CustomerStorer, as_storer as_s.ActivitySheetStorer, ) ActivitySheetController
type ActivitySheetControllerImpl ¶
type ActivitySheetControllerImpl struct { Config *config.Conf Logger *slog.Logger UUID uuid.Provider S3 s3_storage.S3Storager Password password.Provider Kmutex kmutex.Provider DbClient *mongo.Client CommentStorer com_s.CommentStorer HowHearStorer hh_s.HowHearAboutUsItemStorer TagStorer t_s.TagStorer UserStorer user_s.UserStorer CustomerStorer c_s.CustomerStorer ActivitySheetStorer as_s.ActivitySheetStorer TemplatedEmailer templatedemailer.TemplatedEmailer }
func (*ActivitySheetControllerImpl) GetByID ¶
func (impl *ActivitySheetControllerImpl) GetByID(ctx context.Context, id primitive.ObjectID) (*c_s.ActivitySheet, error)
func (*ActivitySheetControllerImpl) LiteListByFilter ¶
func (c *ActivitySheetControllerImpl) LiteListByFilter(ctx context.Context, f *as_s.ActivitySheetPaginationListFilter) (*as_s.ActivitySheetPaginationLiteListResult, error)
Click to show internal directories.
Click to hide internal directories.