entity

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnchorInfo added in v0.0.3

type AnchorInfo struct {
	Id             int         `json:"id"             orm:"id"              description:""`
	AnchorName     string      `json:"anchorName"     orm:"anchor_name"     description:""`
	Url            string      `json:"url"            orm:"url"             description:""`
	Signature      string      `json:"signature"      orm:"signature"       description:""`
	Platform       string      `json:"platform"       orm:"platform"        description:""`
	UniqueId       string      `json:"uniqueId"       orm:"unique_id"       description:""`
	FollowerCount  int         `json:"followerCount"  orm:"follower_count"  description:""`
	FollowingCount int         `json:"followingCount" orm:"following_count" description:""`
	LikeCount      int         `json:"likeCount"      orm:"like_count"      description:""`
	VideoCount     int         `json:"videoCount"     orm:"video_count"     description:""`
	CreatedAt      *gtime.Time `json:"createdAt"      orm:"created_at"      description:""`
	UpdatedAt      *gtime.Time `json:"updatedAt"      orm:"updated_at"      description:""`
}

AnchorInfo is the golang structure for table anchor_info.

type AnchorInfoHistory added in v0.0.3

type AnchorInfoHistory struct {
	Id             int         `json:"id"             orm:"id"              description:""`
	AnchorId       int         `json:"anchorId"       orm:"anchor_id"       description:""`
	AnchorName     string      `json:"anchorName"     orm:"anchor_name"     description:""`
	Signature      string      `json:"signature"      orm:"signature"       description:""`
	FollowerCount  int         `json:"followerCount"  orm:"follower_count"  description:""`
	FollowingCount int         `json:"followingCount" orm:"following_count" description:""`
	LikeCount      int         `json:"likeCount"      orm:"like_count"      description:""`
	VideoCount     int         `json:"videoCount"     orm:"video_count"     description:""`
	CollectedDate  string      `json:"collectedDate"  orm:"collected_date"  description:""`
	CreatedAt      *gtime.Time `json:"createdAt"      orm:"created_at"      description:""`
	UpdatedAt      *gtime.Time `json:"updatedAt"      orm:"updated_at"      description:""`
}

AnchorInfoHistory is the golang structure for table anchor_info_history.

type LiveCookie

type LiveCookie struct {
	Id        int         `json:"id"        orm:"id"         description:""`
	Platform  string      `json:"platform"  orm:"platform"   description:""`
	Cookie    string      `json:"cookie"    orm:"cookie"     description:""`
	Remark    string      `json:"remark"    orm:"remark"     description:""`
	CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""`
	UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:""`
}

LiveCookie is the golang structure for table live_cookie.

type LiveHistory

type LiveHistory struct {
	Id        int         `json:"id"        orm:"id"         description:""`
	LiveId    int         `json:"liveId"    orm:"live_id"    description:""`
	Anchor    string      `json:"anchor"    orm:"anchor"     description:""`
	StartedAt *gtime.Time `json:"startedAt" orm:"started_at" description:""`
	EndedAt   *gtime.Time `json:"endedAt"   orm:"ended_at"   description:""`
	Duration  float64     `json:"duration"  orm:"duration"   description:""`
	CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""`
	UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:""`
	IsDelete  int         `json:"isDelete"  orm:"is_delete"  description:""`
}

LiveHistory is the golang structure for table live_history.

type LiveManage

type LiveManage struct {
	Id             int         `json:"id"             orm:"id"               description:""`
	RoomUrl        string      `json:"roomUrl"        orm:"room_url"         description:""`
	Interval       int         `json:"interval"       orm:"interval"         description:""`
	Format         string      `json:"format"         orm:"format"           description:""`
	MonitorType    int         `json:"monitorType"    orm:"monitor_type"     description:""`
	MonitorStartAt string      `json:"monitorStartAt" orm:"monitor_start_at" description:""`
	MonitorStopAt  string      `json:"monitorStopAt"  orm:"monitor_stop_at"  description:""`
	Remark         string      `json:"remark"         orm:"remark"           description:""`
	CreatedAt      *gtime.Time `json:"createdAt"      orm:"created_at"       description:""`
	UpdatedAt      *gtime.Time `json:"updatedAt"      orm:"updated_at"       description:""`
	Quality        int         `json:"quality"        orm:"quality"          description:""`
	SegmentTime    int         `json:"segmentTime"    orm:"segment_time"     description:""`
}

LiveManage is the golang structure for table live_manage.

type LiveRoomInfo

type LiveRoomInfo struct {
	Id        int         `json:"id"        orm:"id"         description:""`
	LiveId    int         `json:"liveId"    orm:"live_id"    description:""`
	RoomName  string      `json:"roomName"  orm:"room_name"  description:""`
	Anchor    string      `json:"anchor"    orm:"anchor"     description:""`
	Platform  string      `json:"platform"  orm:"platform"   description:""`
	Status    int         `json:"status"    orm:"status"     description:""`
	CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""`
	UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:""`
	IsTop     int         `json:"isTop"     orm:"is_top"     description:""`
	ToppedAt  *gtime.Time `json:"toppedAt"  orm:"topped_at"  description:""`
}

LiveRoomInfo is the golang structure for table live_room_info.

Jump to

Keyboard shortcuts

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