controller

package
v0.0.0-...-53e80a7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2024 License: AGPL-3.0 Imports: 18 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL