grpcUC

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UCInteractor added in v1.0.1

type UCInteractor struct {
	Cfg             *config.ServiceConfig
	DBRepo          repositories.DBRepo
	CacheRepo       repositories.CacheRepo
	CallWrapperRepo repositories.CallWrapperRepo
	UtilsRepo       repositories.UtilsRepo
	HelpersRepo     repositories.HelpersRepo
	OMDBRepo        repositories.OMDBRepo
	SpotifyRepo     repositories.SpotifyRepo
}

func New

func New(c *UCInteractor) *UCInteractor

func (*UCInteractor) DoGetDetailMovie added in v1.0.1

func (uc *UCInteractor) DoGetDetailMovie(ctx context.Context, reqClient *pb.GetDetailMovieReq) (data *pb.GetDetailMovieResp, err error)

func (*UCInteractor) DoGetListMovie added in v1.0.1

func (uc *UCInteractor) DoGetListMovie(ctx context.Context, reqClient *pb.GetListMovieReq) (resp *pb.GetListMovieResp, errResp *customError.Error)

DoGetListMovie get list movie

Jump to

Keyboard shortcuts

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