dto

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FeedShortVideoRequest

type FeedShortVideoRequest struct {
	UserId     int64
	LatestTime int64
	FeedNum    int64
}

type FeedShortVideoResponse

type FeedShortVideoResponse struct {
	Videos []*entity.Video
}

type GetUserInfoRequest

type GetUserInfoRequest struct {
	UserId    int64
	AccountId int64
}

type ListPublishedVideoRequest

type ListPublishedVideoRequest struct {
	UserId     int64
	LatestTime int64
	Pagination *infra_dto.PaginationRequest
}

type ListPublishedVideoResponse

type ListPublishedVideoResponse struct {
	Videos     []*entity.Video
	Pagination *infra_dto.PaginationResponse
}

type PublishVideoRequest

type PublishVideoRequest struct {
	UserId      int64  `json:"user_id"`
	Title       string `json:"title"`
	Description string `json:"description"`
	VideoURL    string `json:"video_url"`
	CoverURL    string `json:"cover_url"`
}

Jump to

Keyboard shortcuts

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