Documentation ¶
Index ¶
- type CreativeReplyCont
- type Ints
- func (is Ints) Bytes() []byte
- func (is *Ints) Evict(e int64) (ok bool)
- func (is Ints) Exist(i int64) (e bool)
- func (is Ints) MarshalTo(data []byte) (int, error)
- func (is *Ints) Scan(src interface{}) (err error)
- func (is Ints) Size() int
- func (is *Ints) Unmarshal(data []byte) error
- func (is Ints) Value() (driver.Value, error)
- type Reply
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreativeReplyCont ¶
type CreativeReplyCont struct { RpID int64 `json:"-"` Message string `json:"message"` Ats Ints `json:"ats,omitempty"` IP uint32 `json:"ipi,omitempty"` Plat int8 `json:"plat"` Device string `json:"device"` Version string `json:"version,omitempty"` CTime xtime.Time `json:"-"` MTime xtime.Time `json:"-"` // ats member info Members []*reply.Info `json:"members"` }
CreativeReplyCont str
type Ints ¶
type Ints []int64
Ints be used to MySql\Protobuf varbinary converting.
func (Ints) MarshalTo ¶
MarshalTo marshal int64 slice to bytes,each int64 will occupy Fixed 8 bytes. if the argument data not supplied with the full size,it will return the actual written size
type Reply ¶
type Reply struct { RpID int64 `json:"rpid"` Oid int64 `json:"oid"` Type int8 `json:"type"` Mid int64 `json:"mid"` Root int64 `json:"root"` Parent int64 `json:"parent"` Count int `json:"count"` RCount int `json:"rcount"` Floor int `json:"floor"` State int8 `json:"state"` Attr int8 `json:"attr"` CTime xtime.Time `json:"ctime"` MTime xtime.Time `json:"-"` RpIDStr string `json:"rpid_str,omitempty"` RootStr string `json:"root_str,omitempty"` ParentStr string `json:"parent_str,omitempty"` // action count, from ReplyAction count Like int `json:"like"` Hate int `json:"-"` Action int8 `json:"action"` // member info Member *reply.Info `json:"member"` // other Content *CreativeReplyCont `json:"content"` Replies []*Reply `json:"replies"` }
Reply str
Click to show internal directories.
Click to hide internal directories.