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 InsuranceRequirementController

InsuranceRequirementController Interface for insurancerequirement business logic controller.

func NewController

func NewController(
	appCfg *config.Conf,
	loggerp *slog.Logger,
	uuidp uuid.Provider,
	s3 s3_storage.S3Storager,
	kmux kmutex.Provider,
	passwordp password.Provider,
	temailer templatedemailer.TemplatedEmailer,
	client *mongo.Client,
	usr_storer user_s.UserStorer,
	a_ctorer a_c.AssociateStorer,
	o_storer o_s.OrderStorer,
	ti_storer ti_s.TaskItemStorer,
	insurancerequirement_s insurancerequirement_s.InsuranceRequirementStorer,
) InsuranceRequirementController

type InsuranceRequirementControllerImpl

type InsuranceRequirementControllerImpl 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
	AssociateStorer            a_c.AssociateStorer
	OrderStorer                o_s.OrderStorer
	TaskItemStorer             ti_s.TaskItemStorer
	InsuranceRequirementStorer insurancerequirement_s.InsuranceRequirementStorer
	TemplatedEmailer           templatedemailer.TemplatedEmailer
}

func (*InsuranceRequirementControllerImpl) ArchiveByID

func (*InsuranceRequirementControllerImpl) Create

func (*InsuranceRequirementControllerImpl) DeleteByID

func (*InsuranceRequirementControllerImpl) GetByID

func (*InsuranceRequirementControllerImpl) UpdateByID

type InsuranceRequirementCreateRequestIDO

type InsuranceRequirementCreateRequestIDO struct {
	Name        string `bson:"name" json:"name"`
	Description string `bson:"description" json:"description"`
}

type InsuranceRequirementUpdateRequestIDO

type InsuranceRequirementUpdateRequestIDO struct {
	ID          primitive.ObjectID `bson:"_id" json:"id"`
	Name        string             `bson:"name" json:"name"`
	Description string             `bson:"description" json:"description"`
}

Jump to

Keyboard shortcuts

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