firebase

package
v1.3.174 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ValidSuffixOptionsMap = map[string]*struct{}{
	// contains filtered or unexported fields
}

Functions

This section is empty.

Types

type AnalyticsInfo

type AnalyticsInfo struct {
	GooglePlayAnalytics    *GooglePlayAnalytics    `json:"googlePlayAnalytics"`
	ItunesConnectAnalytics *ItunesConnectAnalytics `json:"itunesConnectAnalytics"`
}

type AndroidInfo

type AndroidInfo struct {
	AndroidPackageName           string `json:"androidPackageName,omitempty"`
	AndroidFallbackLink          string `json:"androidFallbackLink,omitempty"`
	AndroidMinPackageVersionCode string `json:"androidMinPackageVersionCode,omitempty"`
}

type DynamicLinkInfo

type DynamicLinkInfo struct {
	DomainURIPrefix   string             `json:"domainUriPrefix"`
	Link              string             `json:"link"`
	AndroidInfo       *AndroidInfo       `json:"androidInfo,omitempty"`
	IosInfo           *IosInfo           `json:"iosInfo,omitempty"`
	NavigationInfo    *NavigationInfo    `json:"navigationInfo,omitempty"`
	AnalyticsInfo     *AnalyticsInfo     `json:"analyticsInfo,omitempty"`
	SocialMetaTagInfo *SocialMetaTagInfo `json:"socialMetaTagInfo,omitempty"`
}

type Generator

type Generator struct {
	APIKey          string           `json:"-"`
	DynamicLinkInfo *DynamicLinkInfo `json:"dynamicLinkInfo"`
	Suffix          *Suffix          `json:"suffix,omitempty"`
}
func (g *Generator) GenerateDynamicLink(hash string) (*dynamiclink.GenerateResponse, error)

GenerateDynamicLink hash must be URL safe

type GooglePlayAnalytics

type GooglePlayAnalytics struct {
	UtmSource   string `json:"utmSource"`
	UtmMedium   string `json:"utmMedium"`
	UtmCampaign string `json:"utmCampaign"`
	UtmTerm     string `json:"utmTerm"`
	UtmContent  string `json:"utmContent"`
	GclID       string `json:"gclid"`
}

type IosInfo

type IosInfo struct {
	IosBundleID         string `json:"iosBundleId,omitempty"`
	IosFallbackLink     string `json:"iosFallbackLink,omitempty"`
	IosCustomScheme     string `json:"iosCustomScheme,omitempty"`
	IosIpadFallbackLink string `json:"iosIpadFallbackLink,omitempty"`
	IosIpadBundleID     string `json:"iosIpadBundleId,omitempty"`
	IosAppStoreID       string `json:"iosAppStoreId,omitempty"`
}

type ItunesConnectAnalytics

type ItunesConnectAnalytics struct {
	At string `json:"at"`
	Ct string `json:"ct"`
	Mt string `json:"mt"`
	Pt string `json:"pt"`
}
type NavigationInfo struct {
	EnableForcedRedirect bool `json:"enableForcedRedirect"`
}

type SocialMetaTagInfo

type SocialMetaTagInfo struct {
	SocialTitle       string `json:"socialTitle"`
	SocialDescription string `json:"socialDescription"`
	SocialImageLink   string `json:"socialImageLink"`
}

type Suffix

type Suffix struct {
	Option string `json:"option"`
}

Jump to

Keyboard shortcuts

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