Documentation
¶
Index ¶
- type DataBus
- func (self *DataBus) All(fn func(DataBusContext)) (id int32)
- func (self *DataBus) Get(key string) (nson.Value, bool)
- func (self *DataBus) InitDataBus()
- func (self *DataBus) Insert(key string, value nson.Value) (nson.Value, bool)
- func (self *DataBus) InsertSkipAll(key string, value nson.Value) (nson.Value, bool)
- func (self *DataBus) Off(id int32) (ok bool)
- func (self *DataBus) On(key string, fn func(DataBusContext)) (id int32)
- func (self *DataBus) Remove(key string) (nson.Value, bool)
- func (self *DataBus) Run(eventBus *EventBus, event string)
- func (self *DataBus) Set(key string, value nson.Value) (nson.Value, bool)
- type DataBusContext
- type DataBusHandler
- type EventBus
- type EventBusContext
- type EventBusHandler
- type Task
- type Tasks
- type Timer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataBus ¶
type DataBus struct {
// contains filtered or unexported fields
}
func NewDataBus ¶
func NewDataBus() *DataBus
func (*DataBus) All ¶
func (self *DataBus) All(fn func(DataBusContext)) (id int32)
func (*DataBus) InitDataBus ¶
func (self *DataBus) InitDataBus()
func (*DataBus) InsertSkipAll ¶
type DataBusContext ¶
type DataBusHandler ¶
type DataBusHandler struct {
// contains filtered or unexported fields
}
type EventBus ¶
type EventBus struct {
// contains filtered or unexported fields
}
func NewEventBus ¶
func NewEventBus() *EventBus
func (*EventBus) InitEventBus ¶
func (self *EventBus) InitEventBus()
type EventBusContext ¶
type EventBusHandler ¶
type EventBusHandler struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.