Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddAlbumLogic ¶
func NewAddAlbumLogic ¶
func NewAddAlbumLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddAlbumLogic
func (*AddAlbumLogic) AddAlbum ¶
func (l *AddAlbumLogic) AddAlbum(in *photorpc.AlbumNewReq) (*photorpc.AlbumDetails, error)
创建相册
type AddPhotoLogic ¶
func NewAddPhotoLogic ¶
func NewAddPhotoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddPhotoLogic
func (*AddPhotoLogic) AddPhoto ¶
func (l *AddPhotoLogic) AddPhoto(in *photorpc.PhotoNewReq) (*photorpc.PhotoDetails, error)
创建照片
type DeleteAlbumLogic ¶
func NewDeleteAlbumLogic ¶
func NewDeleteAlbumLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteAlbumLogic
func (*DeleteAlbumLogic) DeleteAlbum ¶
删除相册
type DeletePhotoLogic ¶
func NewDeletePhotoLogic ¶
func NewDeletePhotoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeletePhotoLogic
func (*DeletePhotoLogic) DeletePhoto ¶
删除照片
type FindAlbumListLogic ¶
func NewFindAlbumListLogic ¶
func NewFindAlbumListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindAlbumListLogic
func (*FindAlbumListLogic) FindAlbumList ¶
func (l *FindAlbumListLogic) FindAlbumList(in *photorpc.FindAlbumListReq) (*photorpc.FindAlbumListResp, error)
查询相册列表
type FindPhotoListLogic ¶
func NewFindPhotoListLogic ¶
func NewFindPhotoListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindPhotoListLogic
func (*FindPhotoListLogic) FindPhotoList ¶
func (l *FindPhotoListLogic) FindPhotoList(in *photorpc.FindPhotoListReq) (*photorpc.FindPhotoListResp, error)
分页获取照片列表
type GetAlbumLogic ¶
func NewGetAlbumLogic ¶
func NewGetAlbumLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetAlbumLogic
func (*GetAlbumLogic) GetAlbum ¶
func (l *GetAlbumLogic) GetAlbum(in *photorpc.IdReq) (*photorpc.AlbumDetails, error)
获取相册
type UpdateAlbumLogic ¶
func NewUpdateAlbumLogic ¶
func NewUpdateAlbumLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateAlbumLogic
func (*UpdateAlbumLogic) UpdateAlbum ¶
func (l *UpdateAlbumLogic) UpdateAlbum(in *photorpc.AlbumNewReq) (*photorpc.AlbumDetails, error)
更新相册
type UpdatePhotoLogic ¶
func NewUpdatePhotoLogic ¶
func NewUpdatePhotoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdatePhotoLogic
func (*UpdatePhotoLogic) UpdatePhoto ¶
func (l *UpdatePhotoLogic) UpdatePhoto(in *photorpc.PhotoNewReq) (*photorpc.PhotoDetails, error)
更新照片
Click to show internal directories.
Click to hide internal directories.