model

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PlatAndroid is int8 for android.
	PlatAndroid = int8(0)
	// PlatIPhone is int8 for iphone.
	PlatIPhone = int8(1)
	// PlatIPad is int8 for ipad.
	PlatIPad = int8(2)
	// PlatWPhone is int8 for wphone.
	PlatWPhone = int8(3)
	// PlatAndroidG is int8 for Android Global.
	PlatAndroidG = int8(4)
	// PlatIPhoneI is int8 for Iphone Global.
	PlatIPhoneI = int8(5)
	// PlatIPadI is int8 for IPAD Global.
	PlatIPadI = int8(6)
	// PlatAndroidTV is int8 for AndroidTV Global.
	PlatAndroidTV = int8(7)
	// PlatAndroidI is int8 for Android Global.
	PlatAndroidI = int8(8)

	GotoAv      = "av"
	GotoBangumi = "bangumi"
	GotoLive    = "live"
	GotoWeb     = "web"
	GotoGame    = "game"
)

Variables

This section is empty.

Functions

func FillURI

func FillURI(gt, param string) (uri string)

FillURI deal app schema.

func FillURIBangumi

func FillURIBangumi(gt, seasonID, episodeID string, episodeType int) (uri string)

func IsOverseas

func IsOverseas(plat int8) bool

IsOverseas is overseas

func MobiAPPBuleChange

func MobiAPPBuleChange(mobiApp string) string

MobiAPPBuleChange

func Plat

func Plat(mobiApp, device string) int8

Plat return plat by platStr or mobiApp

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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