video

package
v0.0.0-...-5e02292 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VH

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

VH is Handler implementation.

func NewHandler

func NewHandler(
	videoInteractor usecase.VideoInteractor,
) VH

NewHandler returns a new instance of a clip handler.

func (*VH) APICronExistVideosGet

func (h *VH) APICronExistVideosGet(ctx context.Context, req api.APICronExistVideosGetParams) (api.APICronExistVideosGetRes, error)

APICronExistVideosGet implements the POST /channels/{channel_id}/videos endpoint.

func (*VH) APICronSearchVideosGet

func (h *VH) APICronSearchVideosGet(ctx context.Context, req api.APICronSearchVideosGetParams) (api.APICronSearchVideosGetRes, error)

APICronSearchVideosGet implements the POST /channels/{channel_id}/videos endpoint.

func (*VH) ExistVideos

func (h *VH) ExistVideos(ctx context.Context, req *api.ExistVideosReq) (api.ExistVideosRes, error)

APICronExistVideosGet implements the POST /channels/{channel_id}/videos endpoint.

func (*VH) SearchVideos

func (h *VH) SearchVideos(ctx context.Context, req *api.SearchVideosReq) (api.SearchVideosRes, error)

APICronSearchVideosGet implements the POST /channels/{channel_id}/videos endpoint.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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