model

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CancelReasonStatusUser       = 100
	CancelReasonStatusReSchedule = 105
	CancelReasonStatusDeleted    = 404
)
View Source
const (
	CancelReasonUser       = "User canceled"
	CancelReasonReSchedule = "Live start time re schedule"
	CancelReasonDeleted    = "Live deleted"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CancelReason

type CancelReason struct {
	StatusCode int
	Reason     string
}

func NewCancelReason

func NewCancelReason(statusCode int, reason string) *CancelReason

type DownloadStatus

type DownloadStatus string
const (
	DownloadStatusNotYet      DownloadStatus = "not_yet_started"
	DownloadStatusDownloading DownloadStatus = "downloading"
	DownloadStatusCompleted   DownloadStatus = "completed"
)

Jump to

Keyboard shortcuts

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