Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterMetadataServiceServer(s grpc.ServiceRegistrar, srv MetadataServiceServer)
- func RegisterMovieServiceServer(s grpc.ServiceRegistrar, srv MovieServiceServer)
- func RegisterRatingServiceServer(s grpc.ServiceRegistrar, srv RatingServiceServer)
- type GetAggregatedRatingRequest
- func (*GetAggregatedRatingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAggregatedRatingRequest) GetRecordId() string
- func (x *GetAggregatedRatingRequest) GetRecordType() string
- func (*GetAggregatedRatingRequest) ProtoMessage()
- func (x *GetAggregatedRatingRequest) ProtoReflect() protoreflect.Message
- func (x *GetAggregatedRatingRequest) Reset()
- func (x *GetAggregatedRatingRequest) String() string
- type GetAggregatedRatingResponse
- func (*GetAggregatedRatingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAggregatedRatingResponse) GetRatingValue() float64
- func (*GetAggregatedRatingResponse) ProtoMessage()
- func (x *GetAggregatedRatingResponse) ProtoReflect() protoreflect.Message
- func (x *GetAggregatedRatingResponse) Reset()
- func (x *GetAggregatedRatingResponse) String() string
- type GetMetadataRequest
- func (*GetMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMetadataRequest) GetMovieId() string
- func (*GetMetadataRequest) ProtoMessage()
- func (x *GetMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *GetMetadataRequest) Reset()
- func (x *GetMetadataRequest) String() string
- type GetMetadataResponse
- func (*GetMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMetadataResponse) GetMetadata() *Metadata
- func (*GetMetadataResponse) ProtoMessage()
- func (x *GetMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *GetMetadataResponse) Reset()
- func (x *GetMetadataResponse) String() string
- type GetMovieDetailsRequest
- func (*GetMovieDetailsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMovieDetailsRequest) GetMovieId() string
- func (*GetMovieDetailsRequest) ProtoMessage()
- func (x *GetMovieDetailsRequest) ProtoReflect() protoreflect.Message
- func (x *GetMovieDetailsRequest) Reset()
- func (x *GetMovieDetailsRequest) String() string
- type GetMovieDetailsResponse
- func (*GetMovieDetailsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMovieDetailsResponse) GetMovieDetails() *MovieDetails
- func (*GetMovieDetailsResponse) ProtoMessage()
- func (x *GetMovieDetailsResponse) ProtoReflect() protoreflect.Message
- func (x *GetMovieDetailsResponse) Reset()
- func (x *GetMovieDetailsResponse) String() string
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetDescription() string
- func (x *Metadata) GetDirector() string
- func (x *Metadata) GetId() string
- func (x *Metadata) GetTitle() string
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- type MetadataServiceClient
- type MetadataServiceServer
- type MovieDetails
- func (*MovieDetails) Descriptor() ([]byte, []int)deprecated
- func (x *MovieDetails) GetMetadata() *Metadata
- func (x *MovieDetails) GetRating() float32
- func (*MovieDetails) ProtoMessage()
- func (x *MovieDetails) ProtoReflect() protoreflect.Message
- func (x *MovieDetails) Reset()
- func (x *MovieDetails) String() string
- type MovieServiceClient
- type MovieServiceServer
- type PutMetadataRequest
- func (*PutMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutMetadataRequest) GetMetadata() *Metadata
- func (*PutMetadataRequest) ProtoMessage()
- func (x *PutMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *PutMetadataRequest) Reset()
- func (x *PutMetadataRequest) String() string
- type PutMetadataResponse
- type PutRatingRequest
- func (*PutRatingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutRatingRequest) GetRatingValue() int32
- func (x *PutRatingRequest) GetRecordId() string
- func (x *PutRatingRequest) GetRecordType() string
- func (x *PutRatingRequest) GetUserId() string
- func (*PutRatingRequest) ProtoMessage()
- func (x *PutRatingRequest) ProtoReflect() protoreflect.Message
- func (x *PutRatingRequest) Reset()
- func (x *PutRatingRequest) String() string
- type PutRatingResponse
- type RatingServiceClient
- type RatingServiceServer
- type UnimplementedMetadataServiceServer
- type UnimplementedMovieServiceServer
- type UnimplementedRatingServiceServer
- type UnsafeMetadataServiceServer
- type UnsafeMovieServiceServer
- type UnsafeRatingServiceServer
Constants ¶
const ( MetadataService_GetMetadata_FullMethodName = "/MetadataService/GetMetadata" MetadataService_PutMetadata_FullMethodName = "/MetadataService/PutMetadata" )
const ( RatingService_GetAggregatedRating_FullMethodName = "/RatingService/GetAggregatedRating" RatingService_PutRating_FullMethodName = "/RatingService/PutRating" )
const (
MovieService_GetMovieDetails_FullMethodName = "/MovieService/GetMovieDetails"
)
Variables ¶
var File_movie_proto protoreflect.FileDescriptor
var MetadataService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "MetadataService", HandlerType: (*MetadataServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetMetadata", Handler: _MetadataService_GetMetadata_Handler, }, { MethodName: "PutMetadata", Handler: _MetadataService_PutMetadata_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "movie.proto", }
MetadataService_ServiceDesc is the grpc.ServiceDesc for MetadataService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var MovieService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "MovieService", HandlerType: (*MovieServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetMovieDetails", Handler: _MovieService_GetMovieDetails_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "movie.proto", }
MovieService_ServiceDesc is the grpc.ServiceDesc for MovieService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var RatingService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "RatingService", HandlerType: (*RatingServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAggregatedRating", Handler: _RatingService_GetAggregatedRating_Handler, }, { MethodName: "PutRating", Handler: _RatingService_PutRating_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "movie.proto", }
RatingService_ServiceDesc is the grpc.ServiceDesc for RatingService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMetadataServiceServer ¶
func RegisterMetadataServiceServer(s grpc.ServiceRegistrar, srv MetadataServiceServer)
func RegisterMovieServiceServer ¶
func RegisterMovieServiceServer(s grpc.ServiceRegistrar, srv MovieServiceServer)
func RegisterRatingServiceServer ¶
func RegisterRatingServiceServer(s grpc.ServiceRegistrar, srv RatingServiceServer)
Types ¶
type GetAggregatedRatingRequest ¶
type GetAggregatedRatingRequest struct { RecordId string `protobuf:"bytes,1,opt,name=record_id,json=recordId,proto3" json:"record_id,omitempty"` RecordType string `protobuf:"bytes,2,opt,name=record_type,json=recordType,proto3" json:"record_type,omitempty"` // contains filtered or unexported fields }
func (*GetAggregatedRatingRequest) Descriptor
deprecated
func (*GetAggregatedRatingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAggregatedRatingRequest.ProtoReflect.Descriptor instead.
func (*GetAggregatedRatingRequest) GetRecordId ¶
func (x *GetAggregatedRatingRequest) GetRecordId() string
func (*GetAggregatedRatingRequest) GetRecordType ¶
func (x *GetAggregatedRatingRequest) GetRecordType() string
func (*GetAggregatedRatingRequest) ProtoMessage ¶
func (*GetAggregatedRatingRequest) ProtoMessage()
func (*GetAggregatedRatingRequest) ProtoReflect ¶
func (x *GetAggregatedRatingRequest) ProtoReflect() protoreflect.Message
func (*GetAggregatedRatingRequest) Reset ¶
func (x *GetAggregatedRatingRequest) Reset()
func (*GetAggregatedRatingRequest) String ¶
func (x *GetAggregatedRatingRequest) String() string
type GetAggregatedRatingResponse ¶
type GetAggregatedRatingResponse struct { RatingValue float64 `protobuf:"fixed64,1,opt,name=rating_value,json=ratingValue,proto3" json:"rating_value,omitempty"` // contains filtered or unexported fields }
func (*GetAggregatedRatingResponse) Descriptor
deprecated
func (*GetAggregatedRatingResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAggregatedRatingResponse.ProtoReflect.Descriptor instead.
func (*GetAggregatedRatingResponse) GetRatingValue ¶
func (x *GetAggregatedRatingResponse) GetRatingValue() float64
func (*GetAggregatedRatingResponse) ProtoMessage ¶
func (*GetAggregatedRatingResponse) ProtoMessage()
func (*GetAggregatedRatingResponse) ProtoReflect ¶
func (x *GetAggregatedRatingResponse) ProtoReflect() protoreflect.Message
func (*GetAggregatedRatingResponse) Reset ¶
func (x *GetAggregatedRatingResponse) Reset()
func (*GetAggregatedRatingResponse) String ¶
func (x *GetAggregatedRatingResponse) String() string
type GetMetadataRequest ¶
type GetMetadataRequest struct { MovieId string `protobuf:"bytes,1,opt,name=movie_id,json=movieId,proto3" json:"movie_id,omitempty"` // contains filtered or unexported fields }
func (*GetMetadataRequest) Descriptor
deprecated
func (*GetMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMetadataRequest.ProtoReflect.Descriptor instead.
func (*GetMetadataRequest) GetMovieId ¶
func (x *GetMetadataRequest) GetMovieId() string
func (*GetMetadataRequest) ProtoMessage ¶
func (*GetMetadataRequest) ProtoMessage()
func (*GetMetadataRequest) ProtoReflect ¶
func (x *GetMetadataRequest) ProtoReflect() protoreflect.Message
func (*GetMetadataRequest) Reset ¶
func (x *GetMetadataRequest) Reset()
func (*GetMetadataRequest) String ¶
func (x *GetMetadataRequest) String() string
type GetMetadataResponse ¶
type GetMetadataResponse struct { Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*GetMetadataResponse) Descriptor
deprecated
func (*GetMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMetadataResponse.ProtoReflect.Descriptor instead.
func (*GetMetadataResponse) GetMetadata ¶
func (x *GetMetadataResponse) GetMetadata() *Metadata
func (*GetMetadataResponse) ProtoMessage ¶
func (*GetMetadataResponse) ProtoMessage()
func (*GetMetadataResponse) ProtoReflect ¶
func (x *GetMetadataResponse) ProtoReflect() protoreflect.Message
func (*GetMetadataResponse) Reset ¶
func (x *GetMetadataResponse) Reset()
func (*GetMetadataResponse) String ¶
func (x *GetMetadataResponse) String() string
type GetMovieDetailsRequest ¶
type GetMovieDetailsRequest struct { MovieId string `protobuf:"bytes,1,opt,name=movie_id,json=movieId,proto3" json:"movie_id,omitempty"` // contains filtered or unexported fields }
func (*GetMovieDetailsRequest) Descriptor
deprecated
func (*GetMovieDetailsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMovieDetailsRequest.ProtoReflect.Descriptor instead.
func (*GetMovieDetailsRequest) GetMovieId ¶
func (x *GetMovieDetailsRequest) GetMovieId() string
func (*GetMovieDetailsRequest) ProtoMessage ¶
func (*GetMovieDetailsRequest) ProtoMessage()
func (*GetMovieDetailsRequest) ProtoReflect ¶
func (x *GetMovieDetailsRequest) ProtoReflect() protoreflect.Message
func (*GetMovieDetailsRequest) Reset ¶
func (x *GetMovieDetailsRequest) Reset()
func (*GetMovieDetailsRequest) String ¶
func (x *GetMovieDetailsRequest) String() string
type GetMovieDetailsResponse ¶
type GetMovieDetailsResponse struct { MovieDetails *MovieDetails `protobuf:"bytes,1,opt,name=movie_details,json=movieDetails,proto3" json:"movie_details,omitempty"` // contains filtered or unexported fields }
func (*GetMovieDetailsResponse) Descriptor
deprecated
func (*GetMovieDetailsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMovieDetailsResponse.ProtoReflect.Descriptor instead.
func (*GetMovieDetailsResponse) GetMovieDetails ¶
func (x *GetMovieDetailsResponse) GetMovieDetails() *MovieDetails
func (*GetMovieDetailsResponse) ProtoMessage ¶
func (*GetMovieDetailsResponse) ProtoMessage()
func (*GetMovieDetailsResponse) ProtoReflect ¶
func (x *GetMovieDetailsResponse) ProtoReflect() protoreflect.Message
func (*GetMovieDetailsResponse) Reset ¶
func (x *GetMovieDetailsResponse) Reset()
func (*GetMovieDetailsResponse) String ¶
func (x *GetMovieDetailsResponse) String() string
type Metadata ¶
type Metadata struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Director string `protobuf:"bytes,4,opt,name=director,proto3" json:"director,omitempty"` // contains filtered or unexported fields }
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetDescription ¶
func (*Metadata) GetDirector ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type MetadataServiceClient ¶
type MetadataServiceClient interface { GetMetadata(ctx context.Context, in *GetMetadataRequest, opts ...grpc.CallOption) (*GetMetadataResponse, error) PutMetadata(ctx context.Context, in *PutMetadataRequest, opts ...grpc.CallOption) (*PutMetadataResponse, error) }
MetadataServiceClient is the client API for MetadataService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMetadataServiceClient ¶
func NewMetadataServiceClient(cc grpc.ClientConnInterface) MetadataServiceClient
type MetadataServiceServer ¶
type MetadataServiceServer interface { GetMetadata(context.Context, *GetMetadataRequest) (*GetMetadataResponse, error) PutMetadata(context.Context, *PutMetadataRequest) (*PutMetadataResponse, error) // contains filtered or unexported methods }
MetadataServiceServer is the server API for MetadataService service. All implementations must embed UnimplementedMetadataServiceServer for forward compatibility
type MovieDetails ¶
type MovieDetails struct { Rating float32 `protobuf:"fixed32,1,opt,name=rating,proto3" json:"rating,omitempty"` Metadata *Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*MovieDetails) Descriptor
deprecated
func (*MovieDetails) Descriptor() ([]byte, []int)
Deprecated: Use MovieDetails.ProtoReflect.Descriptor instead.
func (*MovieDetails) GetMetadata ¶
func (x *MovieDetails) GetMetadata() *Metadata
func (*MovieDetails) GetRating ¶
func (x *MovieDetails) GetRating() float32
func (*MovieDetails) ProtoMessage ¶
func (*MovieDetails) ProtoMessage()
func (*MovieDetails) ProtoReflect ¶
func (x *MovieDetails) ProtoReflect() protoreflect.Message
func (*MovieDetails) Reset ¶
func (x *MovieDetails) Reset()
func (*MovieDetails) String ¶
func (x *MovieDetails) String() string
type MovieServiceClient ¶
type MovieServiceClient interface {
GetMovieDetails(ctx context.Context, in *GetMovieDetailsRequest, opts ...grpc.CallOption) (*GetMovieDetailsResponse, error)
}
MovieServiceClient is the client API for MovieService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMovieServiceClient ¶
func NewMovieServiceClient(cc grpc.ClientConnInterface) MovieServiceClient
type MovieServiceServer ¶
type MovieServiceServer interface { GetMovieDetails(context.Context, *GetMovieDetailsRequest) (*GetMovieDetailsResponse, error) // contains filtered or unexported methods }
MovieServiceServer is the server API for MovieService service. All implementations must embed UnimplementedMovieServiceServer for forward compatibility
type PutMetadataRequest ¶
type PutMetadataRequest struct { Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*PutMetadataRequest) Descriptor
deprecated
func (*PutMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutMetadataRequest.ProtoReflect.Descriptor instead.
func (*PutMetadataRequest) GetMetadata ¶
func (x *PutMetadataRequest) GetMetadata() *Metadata
func (*PutMetadataRequest) ProtoMessage ¶
func (*PutMetadataRequest) ProtoMessage()
func (*PutMetadataRequest) ProtoReflect ¶
func (x *PutMetadataRequest) ProtoReflect() protoreflect.Message
func (*PutMetadataRequest) Reset ¶
func (x *PutMetadataRequest) Reset()
func (*PutMetadataRequest) String ¶
func (x *PutMetadataRequest) String() string
type PutMetadataResponse ¶
type PutMetadataResponse struct {
// contains filtered or unexported fields
}
func (*PutMetadataResponse) Descriptor
deprecated
func (*PutMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutMetadataResponse.ProtoReflect.Descriptor instead.
func (*PutMetadataResponse) ProtoMessage ¶
func (*PutMetadataResponse) ProtoMessage()
func (*PutMetadataResponse) ProtoReflect ¶
func (x *PutMetadataResponse) ProtoReflect() protoreflect.Message
func (*PutMetadataResponse) Reset ¶
func (x *PutMetadataResponse) Reset()
func (*PutMetadataResponse) String ¶
func (x *PutMetadataResponse) String() string
type PutRatingRequest ¶
type PutRatingRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` RecordId string `protobuf:"bytes,2,opt,name=record_id,json=recordId,proto3" json:"record_id,omitempty"` RecordType string `protobuf:"bytes,3,opt,name=record_type,json=recordType,proto3" json:"record_type,omitempty"` RatingValue int32 `protobuf:"varint,4,opt,name=rating_value,json=ratingValue,proto3" json:"rating_value,omitempty"` // contains filtered or unexported fields }
func (*PutRatingRequest) Descriptor
deprecated
func (*PutRatingRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutRatingRequest.ProtoReflect.Descriptor instead.
func (*PutRatingRequest) GetRatingValue ¶
func (x *PutRatingRequest) GetRatingValue() int32
func (*PutRatingRequest) GetRecordId ¶
func (x *PutRatingRequest) GetRecordId() string
func (*PutRatingRequest) GetRecordType ¶
func (x *PutRatingRequest) GetRecordType() string
func (*PutRatingRequest) GetUserId ¶
func (x *PutRatingRequest) GetUserId() string
func (*PutRatingRequest) ProtoMessage ¶
func (*PutRatingRequest) ProtoMessage()
func (*PutRatingRequest) ProtoReflect ¶
func (x *PutRatingRequest) ProtoReflect() protoreflect.Message
func (*PutRatingRequest) Reset ¶
func (x *PutRatingRequest) Reset()
func (*PutRatingRequest) String ¶
func (x *PutRatingRequest) String() string
type PutRatingResponse ¶
type PutRatingResponse struct {
// contains filtered or unexported fields
}
func (*PutRatingResponse) Descriptor
deprecated
func (*PutRatingResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutRatingResponse.ProtoReflect.Descriptor instead.
func (*PutRatingResponse) ProtoMessage ¶
func (*PutRatingResponse) ProtoMessage()
func (*PutRatingResponse) ProtoReflect ¶
func (x *PutRatingResponse) ProtoReflect() protoreflect.Message
func (*PutRatingResponse) Reset ¶
func (x *PutRatingResponse) Reset()
func (*PutRatingResponse) String ¶
func (x *PutRatingResponse) String() string
type RatingServiceClient ¶
type RatingServiceClient interface { GetAggregatedRating(ctx context.Context, in *GetAggregatedRatingRequest, opts ...grpc.CallOption) (*GetAggregatedRatingResponse, error) PutRating(ctx context.Context, in *PutRatingRequest, opts ...grpc.CallOption) (*PutRatingResponse, error) }
RatingServiceClient is the client API for RatingService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRatingServiceClient ¶
func NewRatingServiceClient(cc grpc.ClientConnInterface) RatingServiceClient
type RatingServiceServer ¶
type RatingServiceServer interface { GetAggregatedRating(context.Context, *GetAggregatedRatingRequest) (*GetAggregatedRatingResponse, error) PutRating(context.Context, *PutRatingRequest) (*PutRatingResponse, error) // contains filtered or unexported methods }
RatingServiceServer is the server API for RatingService service. All implementations must embed UnimplementedRatingServiceServer for forward compatibility
type UnimplementedMetadataServiceServer ¶
type UnimplementedMetadataServiceServer struct { }
UnimplementedMetadataServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedMetadataServiceServer) GetMetadata ¶
func (UnimplementedMetadataServiceServer) GetMetadata(context.Context, *GetMetadataRequest) (*GetMetadataResponse, error)
func (UnimplementedMetadataServiceServer) PutMetadata ¶
func (UnimplementedMetadataServiceServer) PutMetadata(context.Context, *PutMetadataRequest) (*PutMetadataResponse, error)
type UnimplementedMovieServiceServer ¶
type UnimplementedMovieServiceServer struct { }
UnimplementedMovieServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedMovieServiceServer) GetMovieDetails ¶
func (UnimplementedMovieServiceServer) GetMovieDetails(context.Context, *GetMovieDetailsRequest) (*GetMovieDetailsResponse, error)
type UnimplementedRatingServiceServer ¶
type UnimplementedRatingServiceServer struct { }
UnimplementedRatingServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedRatingServiceServer) GetAggregatedRating ¶
func (UnimplementedRatingServiceServer) GetAggregatedRating(context.Context, *GetAggregatedRatingRequest) (*GetAggregatedRatingResponse, error)
func (UnimplementedRatingServiceServer) PutRating ¶
func (UnimplementedRatingServiceServer) PutRating(context.Context, *PutRatingRequest) (*PutRatingResponse, error)
type UnsafeMetadataServiceServer ¶
type UnsafeMetadataServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMetadataServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MetadataServiceServer will result in compilation errors.
type UnsafeMovieServiceServer ¶
type UnsafeMovieServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMovieServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MovieServiceServer will result in compilation errors.
type UnsafeRatingServiceServer ¶
type UnsafeRatingServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRatingServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RatingServiceServer will result in compilation errors.
Directories ¶
Path | Synopsis |
---|---|
mock
|
|
metadata/repository
Package repository is a generated GoMock package.
|
Package repository is a generated GoMock package. |