Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EventsList = events{
CarStartedEvent: "car-started-event",
CarStoppedEvent: "car-stopped-event",
}
Functions ¶
This section is empty.
Types ¶
type Car ¶
type Car struct {
Name string
Color string
Year string
Engine string
// contains filtered or unexported fields
}
func (*Car) RegisterEvent ¶
type CarExample ¶
type CarExample struct{}
func NewCarExample ¶
func NewCarExample() *CarExample
func (*CarExample) Init ¶
func (ce *CarExample) Init()
func (*CarExample) Run ¶
func (ce *CarExample) Run()
Click to show internal directories.
Click to hide internal directories.