track

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArcTrackInfo

type ArcTrackInfo struct {
	EditHistory []*archive.EditHistory `json:"edit_history"`
	Track       []*Archive             `json:"track"`
	Relation    [][]int                `json:"relation"`
}

ArcTrackInfo 稿件追踪信息

type Archive

type Archive struct {
	// common values
	Timestamp time.Time `json:"timestamp"`
	// archive stat
	State int `json:"state"`
	Round int `json:"round"`
	// AID    int64  `json:"aid,omitempty"`
	Remark    string `json:"remark,omitempty"`
	Attribute int32  `json:"attribute"`
}

type Archives

type Archives []*Archive

Archives Archive sorted.

func (Archives) Len

func (a Archives) Len() int

func (Archives) Less

func (a Archives) Less(i, j int) bool

func (Archives) Swap

func (a Archives) Swap(i, j int)

type Video

type Video struct {
	// common values
	Timestamp  time.Time `json:"timestamp"`
	XCodeState int8      `json:"xcode_state"`
	// video status
	Status    int16  `json:"status"`
	AID       int64  `json:"aid,omitempty"`
	Remark    string `json:"remark,omitempty"`
	Attribute int32  `json:"attribute"`
}

Jump to

Keyboard shortcuts

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