Documentation
¶
Index ¶
- type PublicShareableLinkResponseIDO
- type ShareableLinkController
- type ShareableLinkControllerImpl
- func (impl *ShareableLinkControllerImpl) Create(ctx context.Context, req *ShareableLinkCreateRequestIDO) (*shareablelink_s.ShareableLink, error)
- func (impl *ShareableLinkControllerImpl) DeleteByID(ctx context.Context, sfid primitive.ObjectID) error
- func (c *ShareableLinkControllerImpl) GetByID(ctx context.Context, id primitive.ObjectID) (*shareablelink_s.ShareableLink, error)
- func (c *ShareableLinkControllerImpl) PublicGetByID(ctx context.Context, id primitive.ObjectID) (*PublicShareableLinkResponseIDO, error)
- type ShareableLinkCreateRequestIDO
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PublicShareableLinkResponseIDO ¶
type PublicShareableLinkResponseIDO struct {}
type ShareableLinkController ¶
type ShareableLinkController interface {}
ShareableLinkController Interface for shareablelink business logic controller.
func NewController ¶
func NewController( appCfg *config.Conf, loggerp *slog.Logger, uuidp uuid.Provider, object object_storage.ObjectStorager, passwordp password.Provider, kmux kmutex.Provider, temailer templatedemailer.TemplatedEmailer, client *mongo.Client, usr_storer user_s.UserStorer, shareablelink_s shareablelink_s.ShareableLinkStorer, smartfolder_s smartfolder_s.SmartFolderStorer, obj_storer objectfile_s.ObjectFileStorer, ) ShareableLinkController
type ShareableLinkControllerImpl ¶
type ShareableLinkControllerImpl struct {}
func (*ShareableLinkControllerImpl) Create ¶
func (impl *ShareableLinkControllerImpl) Create(ctx context.Context, req *ShareableLinkCreateRequestIDO) (*shareablelink_s.ShareableLink, error)
func (*ShareableLinkControllerImpl) DeleteByID ¶
func (*ShareableLinkControllerImpl) GetByID ¶
func (c *ShareableLinkControllerImpl) GetByID(ctx context.Context, id primitive.ObjectID) (*shareablelink_s.ShareableLink, error)
func (*ShareableLinkControllerImpl) PublicGetByID ¶
func (c *ShareableLinkControllerImpl) PublicGetByID(ctx context.Context, id primitive.ObjectID) (*PublicShareableLinkResponseIDO, error)
type ShareableLinkCreateRequestIDO ¶
type ShareableLinkCreateRequestIDO struct {}
Click to show internal directories.
Click to hide internal directories.