Documentation ¶
Index ¶
- type FuncMap
- type MsgType
- func (m *MsgType[T]) ClearAll()
- func (m *MsgType[T]) Pull_tag(func_map map[string]func(T) (disable bool)) (cancel func())
- func (m *MsgType[T]) Pull_tag_async(func_map map[string]func(T) (disable bool)) (cancel func())
- func (m *MsgType[T]) Pull_tag_async_only(key string, f func(T) (disable bool)) (cancel func())
- func (m *MsgType[T]) Pull_tag_chan(key string, size int, ctx context.Context) (cancel func(), ch <-chan T)
- func (m *MsgType[T]) Pull_tag_only(key string, f func(T) (disable bool)) (cancel func())
- func (m *MsgType[T]) PushLock_tag(Tag string, Data T)
- func (m *MsgType[T]) Push_tag(Tag string, Data T)
- type MsgType_tag_data
- type Msgq
- func (m *Msgq) ClearAll()
- func (m *Msgq) Pull_tag(func_map map[string]func(any) (disable bool)) (cancel func())
- func (m *Msgq) Pull_tag_async(func_map map[string]func(any) (disable bool)) (cancel func())
- func (m *Msgq) Pull_tag_async_only(key string, f func(any) (disable bool)) (cancel func())
- func (m *Msgq) Pull_tag_chan(key string, size int, ctx context.Context) (cancel func(), ch <-chan any)
- func (m *Msgq) Pull_tag_only(key string, f func(any) (disable bool)) (cancel func())
- func (m *Msgq) Push(msg any)
- func (m *Msgq) PushLock(msg any)
- func (m *Msgq) PushLock_tag(Tag string, Data any)
- func (m *Msgq) Push_tag(Tag string, Data any)
- func (m *Msgq) Register(f func(any) (disable bool)) (cancel func())
- func (m *Msgq) Register_front(f func(any) (disable bool)) (cancel func())
- type Msgq_tag_data
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MsgType ¶ added in v0.22.19
type MsgType[T any] struct { // contains filtered or unexported fields }
func (*MsgType[T]) Pull_tag_async ¶ added in v0.22.21
func (*MsgType[T]) Pull_tag_async_only ¶ added in v0.22.21
func (*MsgType[T]) Pull_tag_chan ¶ added in v0.26.1
func (*MsgType[T]) Pull_tag_only ¶ added in v0.22.21
func (*MsgType[T]) PushLock_tag ¶ added in v0.24.4
不能放置在由Push_tag、PushLock_tag调用的同步Pull中
type MsgType_tag_data ¶ added in v0.27.0
type Msgq ¶ added in v0.3.6
type Msgq struct {
// contains filtered or unexported fields
}
func (*Msgq) Pull_tag_async ¶ added in v0.22.21
func (*Msgq) Pull_tag_async_only ¶ added in v0.22.21
func (*Msgq) Pull_tag_chan ¶ added in v0.26.1
func (*Msgq) Pull_tag_only ¶ added in v0.22.21
func (*Msgq) PushLock_tag ¶ added in v0.24.4
不能放置在由Push_tag、PushLock_tag调用的同步Pull中
func (*Msgq) Register_front ¶ added in v0.22.21
type Msgq_tag_data ¶ added in v0.3.6
Click to show internal directories.
Click to hide internal directories.