appsync

package
Version: v0.33.1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

package appsync contains API defintions for importing application data from the Google export feed

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AndroidTarget

type AndroidTarget struct {
	Namespace              string `json:"namespace"`
	AppName                string `json:"app_name,omitempty"`
	PackageName            string `json:"package_name"`
	SHA256CertFingerprints string `json:"sha256_cert_fingerprints"`
}

AndroidTarget holds the android metadata for an App of AppResponse.

type App

type App struct {
	Region                string `json:"region"`
	IsEnx                 bool   `json:"is_enx,omitempty"`
	AndroidTarget         `json:"android_target"`
	AgencyColor           string          `json:"agency_color"`
	AgencyImage           string          `json:"agency_image"`
	DefaultLocale         string          `json:"default_locale"`
	WebReportLearnMoreURL string          `json:"web_report_learn_more_url"`
	Localizations         []*Localization `json:"localizations"`
	Headless              bool            `json:"headless"`
}

App represents single app for the AppResponse body.

type AppsResponse

type AppsResponse struct {
	Apps []App `json:"apps"`
}

AppsResponse is the body for the published list of android apps.

type Localization

type Localization struct {
	MessageID    string         `json:"msgid"`
	Translations []*Translation `json:"translations"`
}

Localization represents all known translations of a specific message ID

type Translation

type Translation struct {
	Language string `json:"lang"`
	Message  string `json:"message"`
}

Translation is a localized version of a message

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL