multiplexing

package
v0.0.0-...-8aeb8a1 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoDestinations = errors.New("No destination is configured for token")
)

Functions

This section is empty.

Types

type Service

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

Service is a service for accepting, multiplexing events and sending to consumers

func NewService

func NewService(destinationService *destinations.Service) *Service

NewService returns configured Service instance

func (*Service) AcceptRequest

func (s *Service) AcceptRequest(processor events.Processor, reqContext *events.RequestContext, token string, eventsArray []events.Event) ([]map[string]interface{}, error)

AcceptRequest multiplexes input events, enriches with context and sends to consumers

Jump to

Keyboard shortcuts

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