Documentation ¶
Index ¶
- type ContentServerImpl
- func (s *ContentServerImpl) CreateAlbum(ctx context.Context, req *content.CreateAlbumReq) (res *content.CreateAlbumResp, err error)
- func (s *ContentServerImpl) CreatePhoto(ctx context.Context, req *content.CreatePhotoReq) (res *content.CreatePhotoResp, err error)
- func (s *ContentServerImpl) DeleteAlbum(ctx context.Context, req *content.DeleteAlbumReq) (res *content.DeleteAlbumResp, err error)
- func (s *ContentServerImpl) DeletePhoto(ctx context.Context, req *content.DeletePhotoReq) (res *content.DeletePhotoResp, err error)
- func (s *ContentServerImpl) ListAlbum(ctx context.Context, req *content.ListAlbumReq) (res *content.ListAlbumResp, err error)
- func (s *ContentServerImpl) ListPhoto(ctx context.Context, req *content.ListPhotoReq) (res *content.ListPhotoResp, err error)
- func (s *ContentServerImpl) RetrieveAlbum(ctx context.Context, req *content.RetrieveAlbumReq) (res *content.RetrieveAlbumResp, err error)
- func (s *ContentServerImpl) RetrievePhoto(ctx context.Context, req *content.RetrievePhotoReq) (res *content.RetrievePhotoResp, err error)
- func (s *ContentServerImpl) UpdateAlbum(ctx context.Context, req *content.UpdateAlbumReq) (res *content.UpdateAlbumResp, err error)
- func (s *ContentServerImpl) UpdatePhoto(ctx context.Context, req *content.UpdatePhotoReq) (res *content.UpdatePhotoResp, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentServerImpl ¶
type ContentServerImpl struct { *config.Config AlbumService service.AlbumService PhotoService service.PhotoService }
func (*ContentServerImpl) CreateAlbum ¶
func (s *ContentServerImpl) CreateAlbum(ctx context.Context, req *content.CreateAlbumReq) (res *content.CreateAlbumResp, err error)
func (*ContentServerImpl) CreatePhoto ¶
func (s *ContentServerImpl) CreatePhoto(ctx context.Context, req *content.CreatePhotoReq) (res *content.CreatePhotoResp, err error)
func (*ContentServerImpl) DeleteAlbum ¶
func (s *ContentServerImpl) DeleteAlbum(ctx context.Context, req *content.DeleteAlbumReq) (res *content.DeleteAlbumResp, err error)
func (*ContentServerImpl) DeletePhoto ¶
func (s *ContentServerImpl) DeletePhoto(ctx context.Context, req *content.DeletePhotoReq) (res *content.DeletePhotoResp, err error)
func (*ContentServerImpl) ListAlbum ¶
func (s *ContentServerImpl) ListAlbum(ctx context.Context, req *content.ListAlbumReq) (res *content.ListAlbumResp, err error)
func (*ContentServerImpl) ListPhoto ¶
func (s *ContentServerImpl) ListPhoto(ctx context.Context, req *content.ListPhotoReq) (res *content.ListPhotoResp, err error)
func (*ContentServerImpl) RetrieveAlbum ¶
func (s *ContentServerImpl) RetrieveAlbum(ctx context.Context, req *content.RetrieveAlbumReq) (res *content.RetrieveAlbumResp, err error)
func (*ContentServerImpl) RetrievePhoto ¶
func (s *ContentServerImpl) RetrievePhoto(ctx context.Context, req *content.RetrievePhotoReq) (res *content.RetrievePhotoResp, err error)
func (*ContentServerImpl) UpdateAlbum ¶
func (s *ContentServerImpl) UpdateAlbum(ctx context.Context, req *content.UpdateAlbumReq) (res *content.UpdateAlbumResp, err error)
func (*ContentServerImpl) UpdatePhoto ¶
func (s *ContentServerImpl) UpdatePhoto(ctx context.Context, req *content.UpdatePhotoReq) (res *content.UpdatePhotoResp, err error)
Click to show internal directories.
Click to hide internal directories.