eventfeed

package
v0.0.0-...-be2ef80 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventFeedAggregate

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

func (*EventFeedAggregate) CollectEventFeed

func (eventFeedAggregate *EventFeedAggregate) CollectEventFeed(ctx context.Context,
	request *agReq.GetEventFeedRequest) (*agRes.GetEventFeedResponse, error)

CollectEventFeed - collection the events from all the components

It is important to mention that we will be able to survive if one of the components return an error but the rest of them don't, the reason why is because the gateway is just collecting information from the downstream services and it should be able to handle errors.

func (*EventFeedAggregate) CollectEventGuitarStrings

func (eventFeedAggregate *EventFeedAggregate) CollectEventGuitarStrings(ctx context.Context,
	request *agReq.GetEventStringBucketsRequest) (*agRes.GetEventStringBucketsResponse, error)

CollectEventGuitarStrings - collect the guitar strings from all the componets

It is important to mention that we will be able to survive if one of the components return an error but the rest of them don't, the reason why is because the gateway is just collecting information from the downstream services and it should be able to handle errors.

func (*EventFeedAggregate) CollectEventTaskCounts

func (eventFeedAggregate *EventFeedAggregate) CollectEventTaskCounts(
	ctx context.Context, request *agReq.GetEventTaskCountsRequest) (*agRes.GetEventTaskCountsResponse, error)

CollectEventTaskCounts - collect the event task counts from all the components

func (*EventFeedAggregate) CollectEventTypeCounts

func (eventFeedAggregate *EventFeedAggregate) CollectEventTypeCounts(
	ctx context.Context, request *agReq.GetEventTypeCountsRequest) (*agRes.GetEventTypeCountsResponse, error)

CollectEventTypeCounts - collect the event type counts from all the components

Jump to

Keyboard shortcuts

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