event

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func NewService

func NewService(application contracts.Application, logger contracts.LoggingService) *Service

func (*Service) Dispatch

func (s *Service) Dispatch(ctx context.Context, payload contracts.Event)

func (*Service) Register

func (s *Service) Register(name string, listenersConstructor []contracts.EventListenerConstructor)

Jump to

Keyboard shortcuts

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