part

package
v0.24.6 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2023 License: MIT Imports: 6 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FuncMap added in v0.3.15

type FuncMap map[string]func(any) (disable bool)

type MsgType added in v0.22.19

type MsgType[T any] struct {
	// contains filtered or unexported fields
}

func NewType added in v0.22.20

func NewType[T any]() *MsgType[T]

func (*MsgType[T]) ClearAll added in v0.24.5

func (m *MsgType[T]) ClearAll()

func (*MsgType[T]) Pull_tag added in v0.22.19

func (m *MsgType[T]) Pull_tag(func_map map[string]func(T) (disable bool))

func (*MsgType[T]) Pull_tag_async added in v0.22.21

func (m *MsgType[T]) Pull_tag_async(func_map map[string]func(T) (disable bool))

func (*MsgType[T]) Pull_tag_async_only added in v0.22.21

func (m *MsgType[T]) Pull_tag_async_only(key string, f func(T) (disable bool))

func (*MsgType[T]) Pull_tag_only added in v0.22.21

func (m *MsgType[T]) Pull_tag_only(key string, f func(T) (disable bool))

func (*MsgType[T]) PushLock_tag added in v0.24.4

func (m *MsgType[T]) PushLock_tag(Tag string, Data T)

func (*MsgType[T]) Push_tag added in v0.22.19

func (m *MsgType[T]) Push_tag(Tag string, Data T)

type Msgq added in v0.3.6

type Msgq struct {
	// contains filtered or unexported fields
}

func New

func New() *Msgq

func (*Msgq) ClearAll added in v0.24.5

func (m *Msgq) ClearAll()

func (*Msgq) Pull_tag added in v0.3.6

func (m *Msgq) Pull_tag(func_map map[string]func(any) (disable bool))

func (*Msgq) Pull_tag_async added in v0.22.21

func (m *Msgq) Pull_tag_async(func_map map[string]func(any) (disable bool))

func (*Msgq) Pull_tag_async_only added in v0.22.21

func (m *Msgq) Pull_tag_async_only(key string, f func(any) (disable bool))

func (*Msgq) Pull_tag_only added in v0.22.21

func (m *Msgq) Pull_tag_only(key string, f func(any) (disable bool))

func (*Msgq) Push added in v0.3.6

func (m *Msgq) Push(msg any)

func (*Msgq) PushLock added in v0.24.4

func (m *Msgq) PushLock(msg any)

func (*Msgq) PushLock_tag added in v0.24.4

func (m *Msgq) PushLock_tag(Tag string, Data any)

func (*Msgq) Push_tag added in v0.3.6

func (m *Msgq) Push_tag(Tag string, Data any)

func (*Msgq) Register added in v0.21.6

func (m *Msgq) Register(f func(any) (disable bool))

func (*Msgq) Register_front added in v0.22.21

func (m *Msgq) Register_front(f func(any) (disable bool))

type Msgq_tag_data added in v0.3.6

type Msgq_tag_data struct {
	Tag  string
	Data any
}

Jump to

Keyboard shortcuts

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