Documentation ¶
Index ¶
- type VH
- func (h *VH) APICronExistVideosGet(ctx context.Context, req api.APICronExistVideosGetParams) (api.APICronExistVideosGetRes, error)
- func (h *VH) APICronSearchVideosGet(ctx context.Context, req api.APICronSearchVideosGetParams) (api.APICronSearchVideosGetRes, error)
- func (h *VH) ExistVideos(ctx context.Context, req *api.ExistVideosReq) (api.ExistVideosRes, error)
- func (h *VH) SearchVideos(ctx context.Context, req *api.SearchVideosReq) (api.SearchVideosRes, error)
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.
Click to show internal directories.
Click to hide internal directories.