Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewMovieService, NewMetadataGRPCClient, NewRatingGRPCClient)
ProviderSet is service providers.
Functions ¶
func NewMetadataGRPCClient ¶
func NewMetadataGRPCClient(_ *conf.Bootstrap, rc naming_client.INamingClient) (metadata.MetadataServiceClient, func(), error)
func NewRatingGRPCClient ¶
func NewRatingGRPCClient(_ *conf.Bootstrap, rc naming_client.INamingClient) (rating.RatingServiceClient, func(), error)
Types ¶
type MovieService ¶
type MovieService struct { v1.UnimplementedMovieServiceServer // contains filtered or unexported fields }
func NewMovieService ¶
func NewMovieService(uc *biz.MovieUsecase) *MovieService
func (*MovieService) GetMovieDetail ¶
func (m *MovieService) GetMovieDetail(ctx context.Context, req *v1.GetMovieDetailRequest) (resp *v1.GetMovieDetailResponse, err error)
Click to show internal directories.
Click to hide internal directories.