photorpc

package
v0.0.0-...-eea11df Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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 BatchResp

type BatchResp = photorpc.BatchResp

type CountResp

type CountResp = photorpc.CountResp

type EmptyReq

type EmptyReq = photorpc.EmptyReq

type EmptyResp

type EmptyResp = photorpc.EmptyResp

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 IdReq

type IdReq = photorpc.IdReq

type IdsReq

type IdsReq = photorpc.IdsReq

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

func NewPhotoRpc(cli zrpc.Client) PhotoRpc

type UserIdReq

type UserIdReq = photorpc.UserIdReq

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL