Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { moviev1.UnimplementedMetadataServiceServer // contains filtered or unexported fields }
Handler defines a movie metadata gRPC handler.
func New ¶
func New(ctrl *metadata.Controller) *Handler
New creates a new movie metadata gRPC handler.
func (*Handler) GetMetadata ¶
func (h *Handler) GetMetadata(ctx context.Context, req *moviev1.GetMetadataRequest) (*moviev1.GetMetadataResponse, error)
GetMetadata returns movie metadata by id.
Click to show internal directories.
Click to hide internal directories.