Documentation ¶
Index ¶
- Variables
- type AlbumService
- type AlbumServiceImpl
- func (s *AlbumServiceImpl) CreateAlbum(ctx context.Context, req *content.CreateAlbumReq) (res *content.CreateAlbumResp, err error)
- func (s *AlbumServiceImpl) DeleteAlbum(ctx context.Context, req *content.DeleteAlbumReq) (res *content.DeleteAlbumResp, err error)
- func (s *AlbumServiceImpl) ListAlbum(ctx context.Context, req *content.ListAlbumReq) (res *content.ListAlbumResp, err error)
- func (s *AlbumServiceImpl) RetrieveAlbum(ctx context.Context, req *content.RetrieveAlbumReq) (res *content.RetrieveAlbumResp, err error)
- func (s *AlbumServiceImpl) UpdateAlbum(ctx context.Context, req *content.UpdateAlbumReq) (res *content.UpdateAlbumResp, err error)
- type PhotoService
- type PhotoServiceImpl
- func (s *PhotoServiceImpl) CreatePhoto(ctx context.Context, req *content.CreatePhotoReq) (*content.CreatePhotoResp, error)
- func (s *PhotoServiceImpl) DeletePhoto(ctx context.Context, req *content.DeletePhotoReq) (*content.DeletePhotoResp, error)
- func (s *PhotoServiceImpl) ListPhoto(ctx context.Context, req *content.ListPhotoReq) (*content.ListPhotoResp, error)
- func (s *PhotoServiceImpl) RetrievePhoto(ctx context.Context, req *content.RetrievePhotoReq) (*content.RetrievePhotoResp, error)
- func (s *PhotoServiceImpl) UpdatePhoto(ctx context.Context, req *content.UpdatePhotoReq) (*content.UpdatePhotoResp, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var AlbumSet = wire.NewSet( wire.Struct(new(AlbumServiceImpl), "*"), wire.Bind(new(AlbumService), new(*AlbumServiceImpl)), )
View Source
var PhotoSet = wire.NewSet( wire.Struct(new(PhotoServiceImpl), "*"), wire.Bind(new(PhotoService), new(*PhotoServiceImpl)), )
Functions ¶
This section is empty.
Types ¶
type AlbumService ¶
type AlbumService interface { CreateAlbum(ctx context.Context, req *content.CreateAlbumReq) (res *content.CreateAlbumResp, err error) RetrieveAlbum(ctx context.Context, req *content.RetrieveAlbumReq) (res *content.RetrieveAlbumResp, err error) UpdateAlbum(ctx context.Context, req *content.UpdateAlbumReq) (res *content.UpdateAlbumResp, err error) DeleteAlbum(ctx context.Context, req *content.DeleteAlbumReq) (res *content.DeleteAlbumResp, err error) ListAlbum(ctx context.Context, req *content.ListAlbumReq) (res *content.ListAlbumResp, err error) }
type AlbumServiceImpl ¶
type AlbumServiceImpl struct { Config *config.Config AlbumMongoMapper albummapper.IMongoMapper }
func (*AlbumServiceImpl) CreateAlbum ¶
func (s *AlbumServiceImpl) CreateAlbum(ctx context.Context, req *content.CreateAlbumReq) (res *content.CreateAlbumResp, err error)
func (*AlbumServiceImpl) DeleteAlbum ¶
func (s *AlbumServiceImpl) DeleteAlbum(ctx context.Context, req *content.DeleteAlbumReq) (res *content.DeleteAlbumResp, err error)
func (*AlbumServiceImpl) ListAlbum ¶
func (s *AlbumServiceImpl) ListAlbum(ctx context.Context, req *content.ListAlbumReq) (res *content.ListAlbumResp, err error)
func (*AlbumServiceImpl) RetrieveAlbum ¶
func (s *AlbumServiceImpl) RetrieveAlbum(ctx context.Context, req *content.RetrieveAlbumReq) (res *content.RetrieveAlbumResp, err error)
func (*AlbumServiceImpl) UpdateAlbum ¶
func (s *AlbumServiceImpl) UpdateAlbum(ctx context.Context, req *content.UpdateAlbumReq) (res *content.UpdateAlbumResp, err error)
type PhotoService ¶
type PhotoService interface { CreatePhoto(ctx context.Context, req *content.CreatePhotoReq) (*content.CreatePhotoResp, error) RetrievePhoto(ctx context.Context, req *content.RetrievePhotoReq) (*content.RetrievePhotoResp, error) UpdatePhoto(ctx context.Context, req *content.UpdatePhotoReq) (*content.UpdatePhotoResp, error) DeletePhoto(ctx context.Context, req *content.DeletePhotoReq) (*content.DeletePhotoResp, error) ListPhoto(ctx context.Context, req *content.ListPhotoReq) (*content.ListPhotoResp, error) }
type PhotoServiceImpl ¶
type PhotoServiceImpl struct { Config *config.Config PhotoMongoMapper photo.MongoMapper }
func (*PhotoServiceImpl) CreatePhoto ¶
func (s *PhotoServiceImpl) CreatePhoto(ctx context.Context, req *content.CreatePhotoReq) (*content.CreatePhotoResp, error)
func (*PhotoServiceImpl) DeletePhoto ¶
func (s *PhotoServiceImpl) DeletePhoto(ctx context.Context, req *content.DeletePhotoReq) (*content.DeletePhotoResp, error)
func (*PhotoServiceImpl) ListPhoto ¶
func (s *PhotoServiceImpl) ListPhoto(ctx context.Context, req *content.ListPhotoReq) (*content.ListPhotoResp, error)
func (*PhotoServiceImpl) RetrievePhoto ¶
func (s *PhotoServiceImpl) RetrievePhoto(ctx context.Context, req *content.RetrievePhotoReq) (*content.RetrievePhotoResp, error)
func (*PhotoServiceImpl) UpdatePhoto ¶
func (s *PhotoServiceImpl) UpdatePhoto(ctx context.Context, req *content.UpdatePhotoReq) (*content.UpdatePhotoResp, error)
Click to show internal directories.
Click to hide internal directories.