Versions in this module Expand all Collapse all v0 v0.2.0 Feb 14, 2023 Changes in this version + func EscapeQuotes(s string) string + type AiconixJobType struct + AIFunction string + AIResultType string + ID int64 + SourceLanguage string + TranslateTo string + type FileEncoderSettingsUpdate struct + CroppingParameters string + GenerateSubtitles bool + NormalizeAudio bool + PackageAudioOnlyVariant bool + PackageForDRM bool + SourceLanguage string + SubtitleTranslation []string + UseAIServices bool + UseAllAudioTracks bool + UseBPFrames bool + UseCMAF bool + UseCropping bool + UseDeinterlace bool + UseEncoding bool + UseFirstAudioTrack bool + UsePreProcessing bool + UsePremiumEncoding bool + UseTwoPass bool + UseWatermark bool + WatermarkPosition string + type FileEncodingSetting struct + AIFunctions []AiconixJobType + CroppingParameters string + FileFormats []FileFormat + GenerateSubtitles bool + ISOLanguageCode string + NormalizeAudio bool + PackageAudioOnlyVariant bool + PackageForDRM bool + UseAIServices bool + UseAllAudioTracks bool + UseBPFrames bool + UseCMAF bool + UseCropping bool + UseDeinterlace bool + UseEncoding bool + UseFirstAudioTrack bool + UsePreProcessing bool + UsePremiumEncoding bool + UseTwoPass bool + UseWatermark bool + WatermarkPosition string + WatermarkURI string + type FileFormat struct + AudioBitRate int64 + AudioChannels int64 + AudioSampleRate int64 + FileFormatID int64 + Label string + MIMEType string + VideoBitRate int64 + VideoCodec string + VideoFPS float64 + VideoHeight int64 + VideoProfile string + type FileFormatSettings struct + FileFormatSettings []FileFormat + type FileFormatUpdate struct + AudioBitRate int64 + AudioChannels int64 + AudioSampleRate int64 + VideoBitRate int64 + VideoFPS float64 + VideoProfile string type ThreeQGo + AddFileFormat func(projectID int64, fileFormatID int64) (FileEncodingSetting, error) + GetFileEncoderSettings func(projectID int64) (FileEncodingSetting, error) + GetFileFormat func(projectID int64, fileFormatID int64) (FileFormat, error) + GetFileFormatSettings func(projectID int64) (FileFormatSettings, error) + RemoveFileFormat func(projectID int64, fileFormatID int64) (FileEncodingSetting, error) + SetWatermarkPicture func(projectID int64, filename, contentType string, watermark io.Reader) error + UpdateFileEncoderSettings func(projectID int64, settings FileEncoderSettingsUpdate) (FileEncodingSetting, error) + UpdateFileFormat func(projectID int64, fileFormatID int64, fileFormat FileFormatUpdate) (FileFormat, error) v0.1.1 Nov 29, 2022 v0.1.0 Nov 29, 2022 Changes in this version type File + Playouts []Playout + type Playout struct + ID string + Label string v0.0.1 Nov 28, 2022 Changes in this version + var StreamTypeLivestream int64 = 1 ... + var StreamTypeVideoOnDemand int64 = 1 ... + type Category struct + CustomId string + ID int64 + Label string + ThumbURI string + type Channel struct + ChannelStatus []ChannelStatus + ID int64 + Project Project + type ChannelStatus struct + AudioBitRate int64 + AudioFormat string + IsOnline bool + IsPrimary bool + Origin string + VideoBitRate int64 + VideoFormat string + VideoHeight int64 + VideoWidth int64 + type ChannelsResponse struct + Channels []Channel + type EncodingProgress struct + EncodingProgress int64 + FPS float64 + Format string + HasErrors bool + ID int64 + IsFinished bool + IsStored bool + RealTime int64 + UploadProgress int64 + type File struct + CreatedAt time.Time + EncodingPriority int64 + ErrorMessage string + HasErrors bool + ID int64 + IsEncoding bool + IsFinished bool + LastUpdateAt time.Time + MetaData MetaData + Name string + Properties FileProperties + UseEncoding bool + type FileCreate struct + type FileProperties struct + AudioBitRate int64 + AudioChannels int64 + AudioFormat string + AudioSampleRate int64 + Length float64 + Size string + VideoBitRate int64 + VideoFPS float64 + VideoFormat string + VideoHeight int64 + VideoWidth int64 + type FileSearchOptions struct + CategoryId int64 + IncludeDeleted bool + IncludeMetadata bool + IncludePlayouts bool + IncludeProperties bool + Limit int64 + Offset int64 + OrderBy string + Period string + ReleaseStatus string + Sort string + VideoTypeId int64 + type FileUpdate struct + type FilesResponse struct + Files []File + type IABCategory struct + ID int64 + Label string + TABId string + type MetaData struct + Category []Category + CustomMetadata map[string]string + Deeplink string + Description string + DisplayTitle string + DisplayTitleSecondLine string + Genre string + IABCategory []IABCategory + IsPublicAt time.Time + IsPublicUntil time.Time + Latitude float64 + LicenseArea string + Licensor string + Longitude float64 + MetaPictureURI string + NativeLanguage string + OriginalFileName string + ProductionCountry string + ProgramID string + Rating float64 + RelationShip string + Series string + Share []Share + Source string + StandardFilePicture StandardFilePicture + Studio string + Tags string + Title string + VideoType []VideoType + type Project struct + BottalkApiKey string + Category []Category + Cluster string + CreatedAt time.Time + Expires bool + ExpiresAt time.Time + ID int64 + Label string + LastUpdatedAt time.Time + SecurityKey string + StreamType StreamType + ThumbURI string + TokenSecurity bool + UsePlayerV5 bool + UsePubdate bool + type ProjectCreate struct + Label string + StreamTypeId int64 + type ProjectCreateResponse struct + ChannelId int64 + ProjectId int64 + type ProjectUpdate struct + Label string + TokenSecurity bool + UsePlayerV5 bool + type ProjectsResponse struct + Projects []Project + type Recorder struct + AutoRecording bool + Category []Category + Channel Channel + CreatedAt time.Time + Description string + DstProject Project + ID int64 + IsRecording bool + IsStarting bool + IsStopping bool + LastUpdatedAt time.Time + Project Project + RecordStartTime time.Time + RecordingInterval int64 + SecondsRecorded int64 + Title string + UseRecordingInterval bool + type RecorderCreate struct + AutoRecording bool + Description string + RecordingInterval int64 + Title string + UseRecordingInterval bool + type RecorderUpdate struct + AutoRecording bool + Description string + RecordingInterval int64 + Title string + UseRecordingInterval bool + type RecordersResponse struct + ChannelRecorders []Recorder + type Share struct + AccessKey string + Author string + Description string + ID int64 + Label string + ThumbURI string + type StandardFilePicture struct + FilePictureId int64 + IsStandard bool + SrcPictureURI string + ThumbURI string + URI string + type StreamType struct + ID int64 + Label string + type ThreeQGo interface + ChannelRecorderAddCategory func(channelID, recorderID, categoryID int64) (Recorder, error) + ChannelRecorderRemoveCategory func(channelID, recorderID, categoryID int64) (Recorder, error) + CreateChannelRecorder func(channelID, dstProjectID int64, recorder RecorderCreate) (Recorder, error) + CreateProject func(project ProjectCreate) (ProjectCreateResponse, error) + DeleteChannelRecorder func(channelID, recorderID int64) error + DeleteProject func(id int64) error + GetAPIKeyByUser func(username, password string) (string, error) + GetChannel func(id int64) (Channel, error) + GetChannelRecorder func(channelID, recorderID int64) (Recorder, error) + GetChannelRecorders func() ([]Recorder, error) + GetChannels func() ([]Channel, error) + GetEncodingProgress func(projectID, fileID int64) (EncodingProgress, error) + GetFile func(projectID, fileID int64) (File, error) + GetFiles func(projectID int64, queryParams FileSearchOptions) ([]File, error) + GetProject func(id int64) (Project, error) + GetProjectChannels func(id int64) ([]Channel, error) + GetProjects func() ([]Project, error) + SetAPIKey func(apiKey string) + UpdateChannelRecorder func(channelID, recorderID int64, recorder RecorderUpdate) (Recorder, error) + UpdateProject func(id int64, project ProjectUpdate) (Project, error) + Welcome func() error + func NewClient(httpClient *http.Client) ThreeQGo + type VideoType struct + ID int64 + Label string