Documentation ¶
Index ¶
- type AlbumDetails
- type AlbumNewReq
- type BannerDetails
- type BannerNewReq
- type BatchResp
- type CountResp
- type EmptyReq
- type EmptyResp
- type FindAlbumListReq
- type FindAlbumListResp
- type FindBannerListReq
- type FindBannerListResp
- type FindPhotoListReq
- type FindPhotoListResp
- type IdReq
- type IdsReq
- type PhotoDetails
- type PhotoNewReq
- type PhotoRpc
- type UserIdReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlbumDetails ¶
type AlbumDetails = photorpc.AlbumDetails
type AlbumNewReq ¶
type AlbumNewReq = photorpc.AlbumNewReq
type BannerDetails ¶
type BannerDetails = photorpc.BannerDetails
type BannerNewReq ¶
type BannerNewReq = photorpc.BannerNewReq
type FindAlbumListReq ¶
type FindAlbumListReq = photorpc.FindAlbumListReq
type FindAlbumListResp ¶
type FindAlbumListResp = photorpc.FindAlbumListResp
type FindBannerListReq ¶
type FindBannerListReq = photorpc.FindBannerListReq
type FindBannerListResp ¶
type FindBannerListResp = photorpc.FindBannerListResp
type FindPhotoListReq ¶
type FindPhotoListReq = photorpc.FindPhotoListReq
type FindPhotoListResp ¶
type FindPhotoListResp = photorpc.FindPhotoListResp
type PhotoDetails ¶
type PhotoDetails = photorpc.PhotoDetails
type PhotoNewReq ¶
type PhotoNewReq = photorpc.PhotoNewReq
type PhotoRpc ¶
type PhotoRpc interface { // 创建照片 AddPhoto(ctx context.Context, in *PhotoNewReq, opts ...grpc.CallOption) (*PhotoDetails, error) // 更新照片 UpdatePhoto(ctx context.Context, in *PhotoNewReq, opts ...grpc.CallOption) (*PhotoDetails, error) // 删除照片 DeletePhoto(ctx context.Context, in *IdsReq, opts ...grpc.CallOption) (*BatchResp, error) // 查询照片列表 FindPhotoList(ctx context.Context, in *FindPhotoListReq, opts ...grpc.CallOption) (*FindPhotoListResp, error) // 创建相册 AddAlbum(ctx context.Context, in *AlbumNewReq, opts ...grpc.CallOption) (*AlbumDetails, error) // 更新相册 UpdateAlbum(ctx context.Context, in *AlbumNewReq, opts ...grpc.CallOption) (*AlbumDetails, error) // 获取相册 GetAlbum(ctx context.Context, in *IdReq, opts ...grpc.CallOption) (*AlbumDetails, error) // 删除相册 DeleteAlbum(ctx context.Context, in *IdsReq, opts ...grpc.CallOption) (*BatchResp, error) // 查询相册列表 FindAlbumList(ctx context.Context, in *FindAlbumListReq, opts ...grpc.CallOption) (*FindAlbumListResp, error) // 创建页面 AddBanner(ctx context.Context, in *BannerNewReq, opts ...grpc.CallOption) (*BannerDetails, error) // 更新页面 UpdateBanner(ctx context.Context, in *BannerNewReq, opts ...grpc.CallOption) (*BannerDetails, error) // 删除页面 DeleteBanner(ctx context.Context, in *IdsReq, opts ...grpc.CallOption) (*BatchResp, error) // 查询页面列表 FindBannerList(ctx context.Context, in *FindBannerListReq, opts ...grpc.CallOption) (*FindBannerListResp, error) }
func NewPhotoRpc ¶
Click to show internal directories.
Click to hide internal directories.