Documentation ¶
Index ¶
- type Handler
- func (h *Handler) CreateGeneration(ctx context.Context, req *pb.CreateGenerationRequest) (*pb.CreateGenerationResponse, error)
- func (h *Handler) GetGenerationStatus(ctx context.Context, req *pb.GetGenerationStatusRequest) (*pb.GetGenerationStatusResponse, error)
- func (h *Handler) HealthCheck(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error)
- func (h *Handler) StreamGenerationStatus(req *pb.StreamGenerationStatusRequest, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { pb.Text2ManimServiceServer // contains filtered or unexported fields }
func NewHandler ¶
func NewHandler(useCase *usecase.VideoGeneratorUseCase, logger *slog.Logger) *Handler
func (*Handler) CreateGeneration ¶
func (h *Handler) CreateGeneration(ctx context.Context, req *pb.CreateGenerationRequest) (*pb.CreateGenerationResponse, error)
func (*Handler) GetGenerationStatus ¶
func (h *Handler) GetGenerationStatus(ctx context.Context, req *pb.GetGenerationStatusRequest) (*pb.GetGenerationStatusResponse, error)
func (*Handler) HealthCheck ¶
func (*Handler) StreamGenerationStatus ¶
func (h *Handler) StreamGenerationStatus(req *pb.StreamGenerationStatusRequest, stream pb.Text2ManimService_StreamGenerationStatusServer) error
Click to show internal directories.
Click to hide internal directories.