application

package
v0.0.0-...-f1ade16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetVideo

type GetVideo struct {
	// contains filtered or unexported fields
}

func NewGetVideo

func NewGetVideo(videoRepository domain.VideoRepository) *GetVideo

func (*GetVideo) Exec

func (s *GetVideo) Exec(ctx context.Context, cmd *GetVideoCommand) (*domain.Video, error)

type GetVideoCommand

type GetVideoCommand struct {
	ID string `json:"id"`
}

type GetVideoResponse

type GetVideoResponse struct {
	ID       string   `json:"id"`
	Original string   `json:"original"`
	Parts    []string `json:"parts"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL