Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { *nsq.Message // logger *log.Logger Content []byte }
func NewMessage ¶
type OutMessage ¶
type OutMessage struct { // From *OutUser `json:"from"` ID string `json:"id"` FromID uint `json:"from_id"` FromName string `json:"from_name"` FromImageURL string `json:"from_image_url"` Dst uint `json:"dst"` DstType string `json:"dst_type"` // "group" | "personal" Content string `json:"content"` Timestamp int64 `json:"timestamp"` }
Click to show internal directories.
Click to hide internal directories.