Documentation ¶
Index ¶
- type MSG
- func (m *MSG) DelMsg(l uint32) error
- func (m *MSG) GetChrs() string
- func (m *MSG) GetCount() uint32
- func (m *MSG) GetLast() uint32
- func (m *MSG) GetMessages() *[]MessageListItem
- func (m *MSG) GetMsg(position uint32) (*Message, error)
- func (m *MSG) GetMsgType() EchoAreaMsgType
- func (m *MSG) GetName() string
- func (m *MSG) GetType() EchoAreaType
- func (m *MSG) Init()
- func (m *MSG) SaveMsg(tm *Message) error
- func (m *MSG) SetChrs(s string)
- func (m *MSG) SetLast(l uint32)
- type MSGAttrs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MSG ¶
type MSG struct { AreaPath string AreaName string AreaType EchoAreaType Chrs string // contains filtered or unexported fields }
MSG struct
func (*MSG) GetMsgType ¶
func (m *MSG) GetMsgType() EchoAreaMsgType
GetMsgType return area msg base type
type MSGAttrs ¶
type MSGAttrs uint16
MSGAttrs MSG attributes
const ( MSGPRIVATE MSGAttrs = 0x0001 MSGCRASH MSGAttrs = 0x0002 MSGREAD MSGAttrs = 0x0004 MSGSENT MSGAttrs = 0x0008 MSGFILE MSGAttrs = 0x0010 MSGFWD MSGAttrs = 0x0020 MSGORPHAN MSGAttrs = 0x0040 MSGKILL MSGAttrs = 0x0080 MSGLOCAL MSGAttrs = 0x0100 MSGHOLD MSGAttrs = 0x0200 MSGXX2 MSGAttrs = 0x0400 MSGFRQ MSGAttrs = 0x0800 MSGRRQ MSGAttrs = 0x1000 MSGCPT MSGAttrs = 0x2000 MSGARQ MSGAttrs = 0x4000 MSGURQ MSGAttrs = 0x8000 )
attributes
Click to show internal directories.
Click to hide internal directories.