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 (
	TypeForWeb                   = "web"
	TypeForH5                    = "h5"
	TypeForOutside               = "outside"
	TypeForIOS                   = "ios"
	TypeForAndroid               = "android"
	TypeForAndroidTv             = "android_tv"
	PlatForWeb                   = int8(0)
	PlatForH5                    = int8(1)
	PlatForOuter                 = int8(2)
	PlatForIos                   = int8(3)
	PlatForAndroid               = int8(4)
	PlatForAndroidTV             = int8(5)
	PlatForAutoPlayIOS           = int8(6)
	PlafForAutoPlayInlineIOS     = int8(7)
	PlatForAutoPlayAndroid       = int8(8)
	PlatForAutoPlayInlineAndroid = int8(9)
)

web+h5+outside+ios+android

View Source
const (
	LogTypeForNotUse      = int8(0)
	LogTypeForTurly       = int8(1)
	LogTypeForInlineBegin = int8(2)
)

is

View Source
const (
	ValueForLocked = int8(1)
)

is

Variables

This section is empty.

Functions

This section is empty.

Types

type ArcDuration

type ArcDuration struct {
	Duration int64
	GotTime  int64
}

ArcDuration is

type BigDataMsg

type BigDataMsg struct {
	Info string `json:"info"`
	Tp   int8   `json:"type"`
}

BigDataMsg is

type ClickInfo

type ClickInfo struct {
	Aid            int64
	Web            int64
	H5             int64
	Outer          int64
	Ios            int64
	Android        int64
	AndroidTV      int64
	Sum            int64
	DBTimes        int
	LastChangeTime int64
}

ClickInfo is

func (*ClickInfo) GetSum

func (c *ClickInfo) GetSum() (sum int64)

GetSum is

func (*ClickInfo) NeedRelease

func (c *ClickInfo) NeedRelease() bool

NeedRelease is

func (*ClickInfo) Ready

func (c *ClickInfo) Ready(ts int64)

Ready is

type ClickMsg

type ClickMsg struct {
	Plat       int8
	AID        int64
	MID        int64
	Lv         int8
	Buvid      string
	Did        string
	CTime      int64
	STime      int64
	IP         string
	KafkaBs    []byte
	EpID       int64
	SeasonType int
	UserAgent  string
}

ClickMsg is

type Forbid

type Forbid struct {
	AID    int64
	Plat   int8
	Lv     int8
	Locked int8
}

Forbid is

type StatMsg

type StatMsg struct {
	AID   int64 `json:"aid"`
	Click int   `json:"click"`
}

StatMsg is

type StatViewMsg

type StatViewMsg struct {
	Type  string `json:"type"`
	ID    int64  `json:"id"`
	Count int    `json:"count"`
	Ts    int64  `json:"timestamp"`
}

StatViewMsg is

Jump to

Keyboard shortcuts

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