entity

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 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 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:""`
}

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:""`
}

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:""`
}

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