Versions in this module Expand all Collapse all v1 v1.1.2 Jun 8, 2015 v1.1.1 Jun 8, 2015 Changes in this version + var CKLog *logs.BeeLogger + func ReceiveImageMsg(content string) string + func ReceiveLinkMsg(content string) string + func ReceiveLocationMsg(content string) string + func ReceiveMsg(content string, msgtype string) (r string) + func ReceiveTextMsg(content string) string + func ReceiveVideoMsg(content string) string + func ReceiveVoiceMsg(content string) string + func RegDB() + type ImageMsg struct + CreateTime int + Created time.Time + FromUserName string + Id int64 + MediaId int + MsgId int64 + MsgType string + PicUrl string + ToUserName string + func (this *ImageMsg) Insert() error + type LinkMsg struct + CreateTime int + Created time.Time + Description string + FromUserName string + Id int64 + MsgId int64 + MsgType string + Title string + ToUserName string + Url string + func (this *LinkMsg) Insert() error + type LocationMsg struct + CreateTime int + Created time.Time + FromUserName string + Id int64 + Label string + Location_X float64 + Location_Y float64 + MsgId int64 + MsgType string + Scale int + ToUserName string + func (this *LocationMsg) Insert() error + type TextMsg struct + Content string + CreateTime int + Created time.Time + FromUserName string + Id int64 + MsgId int64 + MsgType string + ToUserName string + func (this *TextMsg) Insert() error + func (this *TextMsg) ReplyTextMsg(data string) string + type VideoMsg struct + CreateTime int + Created time.Time + FromUserName string + Id int64 + MediaId int + MsgId int64 + MsgType string + ThumbMediaId string + ToUserName string + func (this *VideoMsg) Insert() error + type VoiceMsg struct + CreateTime int + Created time.Time + Format string + FromUserName string + Id int64 + MediaId string + MsgId int64 + MsgType string + ToUserName string + func (this *VoiceMsg) Insert() error