service

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AlbumService

type AlbumService interface {
	CreateAlbum(ctx context.Context, req *content.CreateAlbumReq) (res *content.CreateAlbumResp, err error)
	RetrieveAlbum(ctx context.Context, req *content.RetrieveAlbumReq) (res *content.RetrieveAlbumResp, err error)
	UpdateAlbum(ctx context.Context, req *content.UpdateAlbumReq) (res *content.UpdateAlbumResp, err error)
	DeleteAlbum(ctx context.Context, req *content.DeleteAlbumReq) (res *content.DeleteAlbumResp, err error)
	ListAlbum(ctx context.Context, req *content.ListAlbumReq) (res *content.ListAlbumResp, err error)
}

type AlbumServiceImpl

type AlbumServiceImpl struct {
	Config           *config.Config
	AlbumMongoMapper albummapper.IMongoMapper
}

func (*AlbumServiceImpl) CreateAlbum

func (s *AlbumServiceImpl) CreateAlbum(ctx context.Context, req *content.CreateAlbumReq) (res *content.CreateAlbumResp, err error)

func (*AlbumServiceImpl) DeleteAlbum

func (s *AlbumServiceImpl) DeleteAlbum(ctx context.Context, req *content.DeleteAlbumReq) (res *content.DeleteAlbumResp, err error)

func (*AlbumServiceImpl) ListAlbum

func (s *AlbumServiceImpl) ListAlbum(ctx context.Context, req *content.ListAlbumReq) (res *content.ListAlbumResp, err error)

func (*AlbumServiceImpl) RetrieveAlbum

func (s *AlbumServiceImpl) RetrieveAlbum(ctx context.Context, req *content.RetrieveAlbumReq) (res *content.RetrieveAlbumResp, err error)

func (*AlbumServiceImpl) UpdateAlbum

func (s *AlbumServiceImpl) UpdateAlbum(ctx context.Context, req *content.UpdateAlbumReq) (res *content.UpdateAlbumResp, err error)

type PhotoServiceImpl

type PhotoServiceImpl struct {
	Config           *config.Config
	PhotoMongoMapper photo.MongoMapper
}

func (*PhotoServiceImpl) CreatePhoto

func (*PhotoServiceImpl) DeletePhoto

func (*PhotoServiceImpl) ListPhoto

func (*PhotoServiceImpl) RetrievePhoto

func (*PhotoServiceImpl) UpdatePhoto

Jump to

Keyboard shortcuts

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