opus

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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) DelMsg

func (m *MSG) DelMsg(l uint32) error

func (*MSG) GetChrs

func (m *MSG) GetChrs() string

GetChrs get charset

func (*MSG) GetCount

func (m *MSG) GetCount() uint32

GetCount get msg count

func (*MSG) GetLast

func (m *MSG) GetLast() uint32

GetLast get last msg number

func (*MSG) GetMessages

func (m *MSG) GetMessages() *[]MessageListItem

GetMessages get headers

func (*MSG) GetMsg

func (m *MSG) GetMsg(position uint32) (*Message, error)

GetMsg getmsg

func (*MSG) GetMsgType

func (m *MSG) GetMsgType() EchoAreaMsgType

GetMsgType return area msg base type

func (*MSG) GetName

func (m *MSG) GetName() string

GetName get areaname

func (*MSG) GetType

func (m *MSG) GetType() EchoAreaType

GetType get area type

func (*MSG) Init

func (m *MSG) Init()

Init for future

func (*MSG) SaveMsg

func (m *MSG) SaveMsg(tm *Message) error

SaveMsg save message

func (*MSG) SetChrs

func (m *MSG) SetChrs(s string)

SetChrs set charset

func (*MSG) SetLast

func (m *MSG) SetLast(l uint32)

SetLast set last message num

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

Jump to

Keyboard shortcuts

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