event

package
v0.3.12 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	App contracts.IApplication
	// contains filtered or unexported fields
}

func (*Event) Attach

func (e *Event) Attach(event string, listener reflect.Value)

func (*Event) Detach

func (e *Event) Detach(event string, listen string)

func (*Event) Fire

func (e *Event) Fire(event contracts.IEvent)

type EventServiceProvider

type EventServiceProvider struct {
	*support.ServiceProvider
}

func (*EventServiceProvider) Register

func (e *EventServiceProvider) Register()

Jump to

Keyboard shortcuts

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