adaptor

package
v0.0.0-...-efe2576 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2024 License: GPL-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 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)

Jump to

Keyboard shortcuts

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