http

package
v0.0.0-...-dec19c8 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 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 ListRequest

type ListRequest struct {
	Status string `json:"status"`
}

type UpdateRequest

type UpdateRequest struct {
	Status   string `json:"status"`
	Location string `json:"location"`
}

type VideoResponse

type VideoResponse struct {
	UploadInfo *model.UploadInfo `json:"upload_info,omitempty"`
	ID         string            `json:"id"`
	Name       string            `json:"name"`
	Status     string            `json:"status"`
	CreatedAt  string            `json:"created_at"`
	Size       uint64            `json:"size"`
}

func NewVideoResponse

func NewVideoResponse(v *model.Video) *VideoResponse

type WatchResponse

type WatchResponse struct {
	WatchURL string `json:"watch_url"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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