Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiTranscodeUpdate ¶
type ApiTranscodeUpdate struct { VodID primitive.ObjectID `json:"vod_id"` Variant VodVariant `json:"variant"` Error string `json:"error"` }
type Chat ¶
type Chat struct { ID primitive.ObjectID `json:"id" bson:"_id,omitempty"` Twitch struct { ID string `json:"id" bson:"id"` Login string `json:"login" bson:"login"` DisplayName string `json:"display_name" bson:"display_name"` } `json:"twitch" bson:"twitch"` Timestamp time.Time `json:"timestamp" bson:"timestamp"` Content string `json:"content" bson:"content"` Badges []ChatBadge `json:"badges" bson:"badges"` Emotes []ChatEmote `json:"emotes" bson:"chat_emote"` }
type User ¶
type User struct { ID primitive.ObjectID `json:"id" bson:"_id,omitempty"` Twitch struct { ID string `json:"id" bson:"id"` Login string `json:"login" bson:"login"` DisplayName string `json:"display_name" bson:"display_name"` ProfilePicture string `json:"profile_picture" bson:"profile_picture"` } `json:"twitch" bson:"twitch"` StreamKey string `json:"stream_key" bson:"stream_key"` }
type Vod ¶
type Vod struct { ID primitive.ObjectID `json:"id" bson:"_id,omitempty"` UserID primitive.ObjectID `json:"user_id" bson:"user_id"` Title string `json:"title" bson:"title"` Categories []VodCategory `json:"categories" bson:"categories"` State VodState `json:"vod_state" bson:"vod_state"` Visibility VodVisibility `json:"vod_visibility" bson:"vod_visibility"` Variants []VodVariant `json:"variants" bson:"variants"` StartedAt time.Time `json:"started_at" bson:"started_at"` EndedAt time.Time `json:"ended_at" bson:"ended_at"` }
type VodCategory ¶
type VodTranscodeJob ¶
type VodTranscodeJob struct { VodID primitive.ObjectID `json:"vod_id"` Variant VodVariant `json:"variant"` }
type VodVariant ¶
type VodVisibility ¶
type VodVisibility int32
const ( VodVisibilityPublic VodVisibility = iota VodVisibilityHidden VodVisibilityDeleted )
Click to show internal directories.
Click to hide internal directories.