MCPcopy Create free account
hub / github.com/devfullcycle/goexpert / EventInterface

Interface EventInterface

20-CleanArch/pkg/events/interface.go:8–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6)
7
8type EventInterface interface {
9 GetName() string
10 GetDateTime() time.Time
11 GetPayload() interface{}
12 SetPayload(payload interface{})
13}
14
15type EventHandlerInterface interface {
16 Handle(event EventInterface, wg *sync.WaitGroup)

Callers 10

DispatchMethod · 0.65
HandleMethod · 0.65
ExecuteMethod · 0.65

Implementers 2

TestEvent20-CleanArch/pkg/events/event_dispatch
OrderCreated20-CleanArch/internal/event/order_crea

Calls

no outgoing calls

Tested by

no test coverage detected