Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CountLogic ¶
type CountLogic struct {
// contains filtered or unexported fields
}
func NewCountLogic ¶
func NewCountLogic(metadata *appinfo.AppMetadata, helper *log.Helper, collection *mongo.Collection) *CountLogic
func (*CountLogic) Count ¶
func (s *CountLogic) Count(ctx context.Context, req *p.VideoCollectionCountReq) (*p.VideoCollectionCountRes, error)
type CreateLogic ¶
type CreateLogic struct {
// contains filtered or unexported fields
}
func NewCreateLogic ¶
func NewCreateLogic(metadata *appinfo.AppMetadata, helper *log.Helper, collection *mongo.Collection) *CreateLogic
func (*CreateLogic) Create ¶
func (s *CreateLogic) Create(ctx context.Context, req *p.VideoCollectionCreateReq) (*p.VideoCollectionCreateRes, error)
type DeleteLogic ¶
type DeleteLogic struct {
// contains filtered or unexported fields
}
func NewDeleteLogic ¶
func NewDeleteLogic(metadata *appinfo.AppMetadata, helper *log.Helper, collection *mongo.Collection) *DeleteLogic
func (*DeleteLogic) Delete ¶
func (s *DeleteLogic) Delete(ctx context.Context, req *p.VideoCollectionDeleteReq) (*p.VideoCollectionDeleteRes, error)
type DeleteMultiLogic ¶
type DeleteMultiLogic struct {
// contains filtered or unexported fields
}
func NewDeleteMultiLogic ¶
func NewDeleteMultiLogic(metadata *appinfo.AppMetadata, helper *log.Helper, collection *mongo.Collection) *DeleteMultiLogic
func (*DeleteMultiLogic) DeleteMulti ¶
func (s *DeleteMultiLogic) DeleteMulti(ctx context.Context, req *p.VideoCollectionDeleteMultiReq) (*p.VideoCollectionDeleteMultiRes, error)
type GetLogic ¶
type GetLogic struct {
// contains filtered or unexported fields
}
func NewGetLogic ¶
func NewGetLogic(metadata *appinfo.AppMetadata, helper *log.Helper, collection *mongo.Collection) *GetLogic
func (*GetLogic) Get ¶
func (s *GetLogic) Get(ctx context.Context, req *p.VideoCollectionGetReq) (*p.VideoCollectionGetRes, error)
type ListLogic ¶
type ListLogic struct {
// contains filtered or unexported fields
}
func NewListLogic ¶
func NewListLogic(metadata *appinfo.AppMetadata, helper *log.Helper, collection *mongo.Collection) *ListLogic
func (*ListLogic) List ¶
func (s *ListLogic) List(ctx context.Context, req *p.VideoCollectionListReq) (*p.VideoCollectionListRes, error)
type OneLogic ¶
type OneLogic struct {
// contains filtered or unexported fields
}
func NewOneLogic ¶
func NewOneLogic(metadata *appinfo.AppMetadata, helper *log.Helper, collection *mongo.Collection) *OneLogic
func (*OneLogic) One ¶
func (s *OneLogic) One(ctx context.Context, req *p.VideoCollectionOneReq) (*p.VideoCollectionOneRes, error)
type UpdateLogic ¶
type UpdateLogic struct {
// contains filtered or unexported fields
}
func NewUpdateLogic ¶
func NewUpdateLogic(metadata *appinfo.AppMetadata, helper *log.Helper, collection *mongo.Collection) *UpdateLogic
func (*UpdateLogic) Update ¶
func (s *UpdateLogic) Update(ctx context.Context, req *p.VideoCollectionUpdateReq) (*p.VideoCollectionUpdateRes, error)
type UpsertLogic ¶
type UpsertLogic struct {
// contains filtered or unexported fields
}
func NewUpsertLogic ¶
func NewUpsertLogic(metadata *appinfo.AppMetadata, helper *log.Helper, collection *mongo.Collection) *UpsertLogic
func (*UpsertLogic) Upsert ¶
func (s *UpsertLogic) Upsert(ctx context.Context, req *p.VideoCollectionUpsertReq) (*p.VideoCollectionUpsertRes, error)
Click to show internal directories.
Click to hide internal directories.