Documentation ¶
Index ¶
- type BaseResponse
- func (p *BaseResponse) GetStatusCode() (v int32)
- func (p *BaseResponse) GetStatusMsg() (v string)
- func (p *BaseResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *BaseResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *BaseResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *BaseResponse) String() string
- func (p *BaseResponse) Write(oprot thrift.TProtocol) (err error)
- type Gift
- func (p *Gift) GetCount() (v int32)
- func (p *Gift) GetEndTime() (v int64)
- func (p *Gift) GetGift() (v string)
- func (p *Gift) GetID() (v int64)
- func (p *Gift) GetLiveID() (v int64)
- func (p *Gift) Read(iprot thrift.TProtocol) (err error)
- func (p *Gift) ReadField1(iprot thrift.TProtocol) error
- func (p *Gift) ReadField2(iprot thrift.TProtocol) error
- func (p *Gift) ReadField3(iprot thrift.TProtocol) error
- func (p *Gift) ReadField4(iprot thrift.TProtocol) error
- func (p *Gift) ReadField5(iprot thrift.TProtocol) error
- func (p *Gift) String() string
- func (p *Gift) Write(oprot thrift.TProtocol) (err error)
- type LiveMessage
- func (p *LiveMessage) GetContent() (v string)
- func (p *LiveMessage) GetID() (v int64)
- func (p *LiveMessage) GetLiveID() (v int64)
- func (p *LiveMessage) GetLiveTime() (v int64)
- func (p *LiveMessage) GetSendTime() (v int64)
- func (p *LiveMessage) GetType() (v int8)
- func (p *LiveMessage) GetUserID() (v int64)
- func (p *LiveMessage) Read(iprot thrift.TProtocol) (err error)
- func (p *LiveMessage) ReadField1(iprot thrift.TProtocol) error
- func (p *LiveMessage) ReadField2(iprot thrift.TProtocol) error
- func (p *LiveMessage) ReadField3(iprot thrift.TProtocol) error
- func (p *LiveMessage) ReadField4(iprot thrift.TProtocol) error
- func (p *LiveMessage) ReadField5(iprot thrift.TProtocol) error
- func (p *LiveMessage) ReadField6(iprot thrift.TProtocol) error
- func (p *LiveMessage) ReadField7(iprot thrift.TProtocol) error
- func (p *LiveMessage) String() string
- func (p *LiveMessage) Write(oprot thrift.TProtocol) (err error)
- type Room
- func (p *Room) GetCover() (v string)
- func (p *Room) GetIntroduction() (v string)
- func (p *Room) GetIsLive() (v bool)
- func (p *Room) GetLiveID() (v int64)
- func (p *Room) GetOwner() (v int64)
- func (p *Room) GetRoomName() (v string)
- func (p *Room) GetStartTime() (v int64)
- func (p *Room) Read(iprot thrift.TProtocol) (err error)
- func (p *Room) ReadField1(iprot thrift.TProtocol) error
- func (p *Room) ReadField2(iprot thrift.TProtocol) error
- func (p *Room) ReadField3(iprot thrift.TProtocol) error
- func (p *Room) ReadField4(iprot thrift.TProtocol) error
- func (p *Room) ReadField5(iprot thrift.TProtocol) error
- func (p *Room) ReadField6(iprot thrift.TProtocol) error
- func (p *Room) ReadField7(iprot thrift.TProtocol) error
- func (p *Room) String() string
- func (p *Room) Write(oprot thrift.TProtocol) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseResponse ¶
type BaseResponse struct { StatusCode int32 `thrift:"status_code,1" form:"status_code" json:"status_code" query:"status_code"` StatusMsg string `thrift:"status_msg,2" form:"status_msg" json:"status_msg" query:"status_msg"` }
func NewBaseResponse ¶
func NewBaseResponse() *BaseResponse
func (*BaseResponse) GetStatusCode ¶
func (p *BaseResponse) GetStatusCode() (v int32)
func (*BaseResponse) GetStatusMsg ¶
func (p *BaseResponse) GetStatusMsg() (v string)
func (*BaseResponse) ReadField1 ¶
func (p *BaseResponse) ReadField1(iprot thrift.TProtocol) error
func (*BaseResponse) ReadField2 ¶
func (p *BaseResponse) ReadField2(iprot thrift.TProtocol) error
func (*BaseResponse) String ¶
func (p *BaseResponse) String() string
type Gift ¶
type Gift struct { ID int64 `thrift:"id,1" gorm:"primaryKey;autoIncrement:false" form:"id" json:"id" query:"id"` LiveID int64 `thrift:"live_id,2,required" gorm:"index" form:"live_id,required" json:"live_id,required" query:"live_id,required"` Gift string `thrift:"gift,3,required" form:"gift,required" json:"gift,required" query:"gift,required"` Count int32 `thrift:"count,4,required" form:"count,required" json:"count,required" query:"count,required"` EndTime int64 `thrift:"end_time,5,required" form:"end_time,required" json:"end_time,required" query:"end_time,required"` }
func (*Gift) GetEndTime ¶
type LiveMessage ¶
type LiveMessage struct { Type int8 `thrift:"type,1" form:"type" json:"type" query:"type"` ID int64 `thrift:"id,2" form:"id" json:"id" query:"id"` UserID int64 `thrift:"user_id,3" form:"user_id" json:"user_id" query:"user_id"` LiveID int64 `thrift:"live_id,4" form:"live_id" json:"live_id" query:"live_id"` LiveTime int64 `thrift:"live_time,5" form:"live_time" json:"live_time" query:"live_time"` SendTime int64 `thrift:"send_time,6" form:"send_time" json:"send_time" query:"send_time"` Content string `thrift:"content,7" form:"content" json:"content" query:"content"` }
func NewLiveMessage ¶
func NewLiveMessage() *LiveMessage
func (*LiveMessage) GetContent ¶
func (p *LiveMessage) GetContent() (v string)
func (*LiveMessage) GetID ¶
func (p *LiveMessage) GetID() (v int64)
func (*LiveMessage) GetLiveID ¶
func (p *LiveMessage) GetLiveID() (v int64)
func (*LiveMessage) GetLiveTime ¶
func (p *LiveMessage) GetLiveTime() (v int64)
func (*LiveMessage) GetSendTime ¶
func (p *LiveMessage) GetSendTime() (v int64)
func (*LiveMessage) GetType ¶
func (p *LiveMessage) GetType() (v int8)
func (*LiveMessage) GetUserID ¶
func (p *LiveMessage) GetUserID() (v int64)
func (*LiveMessage) ReadField1 ¶
func (p *LiveMessage) ReadField1(iprot thrift.TProtocol) error
func (*LiveMessage) ReadField2 ¶
func (p *LiveMessage) ReadField2(iprot thrift.TProtocol) error
func (*LiveMessage) ReadField3 ¶
func (p *LiveMessage) ReadField3(iprot thrift.TProtocol) error
func (*LiveMessage) ReadField4 ¶
func (p *LiveMessage) ReadField4(iprot thrift.TProtocol) error
func (*LiveMessage) ReadField5 ¶
func (p *LiveMessage) ReadField5(iprot thrift.TProtocol) error
func (*LiveMessage) ReadField6 ¶
func (p *LiveMessage) ReadField6(iprot thrift.TProtocol) error
func (*LiveMessage) ReadField7 ¶
func (p *LiveMessage) ReadField7(iprot thrift.TProtocol) error
func (*LiveMessage) String ¶
func (p *LiveMessage) String() string
type Room ¶
type Room struct { LiveID int64 `thrift:"live_id,1" gorm:"type:bigint;primaryKey;autoIncrement:false" form:"live_id" json:"live_id" query:"live_id"` RoomName string `thrift:"room_name,2" form:"room_name" json:"room_name" query:"room_name"` Introduction string `thrift:"introduction,3" form:"introduction" json:"introduction" query:"introduction"` Owner int64 `thrift:"owner,4" form:"owner" json:"owner" query:"owner"` Cover string `thrift:"cover,5" form:"cover" json:"cover" query:"cover"` StartTime int64 `thrift:"start_time,6" form:"start_time" json:"start_time" query:"start_time"` IsLive bool `thrift:"is_live,7" form:"is_live" json:"is_live" query:"is_live"` }
func (*Room) GetIntroduction ¶
func (*Room) GetRoomName ¶
func (*Room) GetStartTime ¶
Click to show internal directories.
Click to hide internal directories.