Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageStore ¶
type MessageStore struct {
// contains filtered or unexported fields
}
func NewMessageStore ¶
func NewMessageStore(dic *di.Container) *MessageStore
func (*MessageStore) DeleteMsgId ¶
func (wp *MessageStore) DeleteMsgId(id string)
func (*MessageStore) GenAckChan ¶
func (wp *MessageStore) GenAckChan(id string) *MsgAckChan
func (*MessageStore) LoadMsgChan ¶
func (wp *MessageStore) LoadMsgChan(id string) (interface{}, bool)
func (*MessageStore) StoreMsgId ¶
func (wp *MessageStore) StoreMsgId(id string, ch string)
func (*MessageStore) StoreRange ¶
func (wp *MessageStore) StoreRange()
type MessageStores ¶
type MsgAckChan ¶
func (*MsgAckChan) TryCloseChan ¶
func (mac *MsgAckChan) TryCloseChan()
func (*MsgAckChan) TrySendDataAndCloseChan ¶
func (mac *MsgAckChan) TrySendDataAndCloseChan(data interface{}) bool
Click to show internal directories.
Click to hide internal directories.