Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrpcInteractor ¶
type GrpcInteractor struct {
GrpcInterface repositorys.GrpcUsecase
}
type GrpcServer ¶
type GrpcServer struct { Cfg *config.ServiceConfig GrpcInteractor *GrpcInteractor App *grpc.Server }
func New ¶
func New(this *GrpcServer) *GrpcServer
func (*GrpcServer) GetDetailMovie ¶
func (grpc *GrpcServer) GetDetailMovie(ctx context.Context, req *pb.GetDetailMovieReq) (*pb.GetDetailMovieResp, error)
func (*GrpcServer) GetListMovie ¶
func (grpc *GrpcServer) GetListMovie(ctx context.Context, req *pb.GetListMovieReq) (*pb.GetListMovieResp, error)
func (*GrpcServer) Register ¶
func (grpc *GrpcServer) Register()
Click to show internal directories.
Click to hide internal directories.