server

package
v0.0.0-...-6d7266f Latest Latest
Warning

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

Go to latest
Published: Nov 22, 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 PhotoRpcServer

type PhotoRpcServer struct {
	photorpc.UnimplementedPhotoRpcServer
	// contains filtered or unexported fields
}

func NewPhotoRpcServer

func NewPhotoRpcServer(svcCtx *svc.ServiceContext) *PhotoRpcServer

func (*PhotoRpcServer) AddAlbum

创建相册

func (*PhotoRpcServer) AddPhoto

创建照片

func (*PhotoRpcServer) DeleteAlbum

func (s *PhotoRpcServer) DeleteAlbum(ctx context.Context, in *photorpc.IdsReq) (*photorpc.BatchResp, error)

删除相册

func (*PhotoRpcServer) DeletePhoto

func (s *PhotoRpcServer) DeletePhoto(ctx context.Context, in *photorpc.IdsReq) (*photorpc.BatchResp, error)

删除照片

func (*PhotoRpcServer) FindAlbumList

查询相册列表

func (*PhotoRpcServer) FindPhotoList

查询照片列表

func (*PhotoRpcServer) GetAlbum

获取相册

func (*PhotoRpcServer) UpdateAlbum

更新相册

func (*PhotoRpcServer) UpdatePhoto

更新照片

Jump to

Keyboard shortcuts

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