model

package
v0.0.0-...-c242be3 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SendP2PMsgKey   = "send_p2p_msg"
	SendGroupMsgKey = "send_group_msg"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ExceptionMsg

type ExceptionMsg struct {
	SourceUID int64
	TargetUID int64
	MsgID     string
	Msg       string
}

type Group

type Group struct {
}

type OfflineMsg

type OfflineMsg struct {
	MsgID     string
	SourceUID int64
	TargetUID int64
	Msg       string
	CTime     xtime.Time
	MTime     xtime.Time
	Flag      bool
}

type OfflineMsgs

type OfflineMsgs struct {
	Msgs []*OfflineMsg
}

type SendGroupMsgKafka

type SendGroupMsgKafka struct {
	IncrementID int64  `json:"incrementID"`
	SourceUID   int64  `json:"sourceUID"`
	TargetUID   int64  `json:"targetUID"`
	GroupID     int64  `json:"groupID"`
	MsgType     string `json:"msgType"`
	MsgID       string `json:"msgID"`
	Msg         string `json:"msg"`
	Online      bool   `json:"online"`
}

type SendP2PMsgKafka

type SendP2PMsgKafka struct {
	IncrementID      int64  `json:"incrementID"`
	SourceUID        int64  `json:"sourceUID"`
	TargetUID        int64  `json:"targetUID"`
	MsgID            string `json:"msgID"`
	MsgType          string `json:"msgType"`
	Msg              string `json:"msg"`
	AccessServerAddr string `json:"accessServerAddr"`
	Online           bool   `json:"online"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL