Documentation ¶
Index ¶
- Variables
- func GetTag(st interface{}, fieldName string, tagName string) (string, bool)
- func Import(in, out, dateFormat string, bufferSize int, prefix string, dateRange []string) (*utils.Result, error)
- func UpdateCamera(sdcard string, model string) error
- type App
- type Camera
- type FileType
- type FileTypeMatch
- type FirmwareDownloadList
- type Insta360File
- type Insta360Metadata
- type Item
Constants ¶
This section is empty.
Variables ¶
View Source
var FIRMWARE_CATALOG = "https://openapi.insta360.com/website/appDownload/getGroupApp?group=%s&X-Language=en-us"
Functions ¶
func UpdateCamera ¶
Types ¶
type App ¶
type App struct { MainName string `json:"main_name"` Name string `json:"name"` Description string `json:"description"` TitleImage string `json:"title_image"` Language string `json:"language"` ID int `json:"id"` LogoImage string `json:"logo_image"` AppID int `json:"app_id"` Items []Item `json:"items"` Key string `json:"key"` NameLinkURL string `json:"name_link_url,omitempty"` DescriptionLinkText string `json:"description_link_text,omitempty"` DescriptionLinkURL string `json:"description_link_url,omitempty"` NameLinkText string `json:"name_link_text,omitempty"` UnsupportText string `json:"unsupport_text,omitempty"` }
type FileTypeMatch ¶
type FirmwareDownloadList ¶
type Insta360File ¶
type Insta360Metadata ¶
type Item ¶
type Item struct { IsMininumVersion bool `json:"is_mininum_version"` WebsiteVisible bool `json:"website_visible"` Forced bool `json:"forced"` Description string `json:"description"` Language string `json:"language"` Version string `json:"version"` Platform string `json:"platform"` AppVisible bool `json:"app_visible"` ItemID int `json:"itemId"` UpdateTime string `json:"update_time"` VersionName string `json:"version_name,omitempty"` Channels []struct { Channel string `json:"channel"` DownloadURL string `json:"download_url"` ItemID int `json:"item_id"` OrderIndex int `json:"order_index"` Visible bool `json:"visible"` } `json:"channels"` ImportantTag bool `json:"important_tag"` ID int `json:"id"` IsTest bool `json:"is_test"` AppID int `json:"app_id"` }
Click to show internal directories.
Click to hide internal directories.