events

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogEventManager

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

LogEventManager manages the routing of logs back to their subscribers. todo (@matt) currently, this operates as a service but maybe it would make more sense to be owned by enclave service?

func NewLogEventManager

func NewLogEventManager(serviceLocator logSubsServiceLocator, logger gethlog.Logger) *LogEventManager

func (*LogEventManager) HealthStatus

func (l *LogEventManager) HealthStatus() host.HealthStatus

func (*LogEventManager) SendLogsToSubscribers

func (l *LogEventManager) SendLogsToSubscribers(result *common.EncryptedSubscriptionLogs)

SendLogsToSubscribers distributes logs to subscribed clients.

func (*LogEventManager) Start

func (l *LogEventManager) Start() error

func (*LogEventManager) Stop

func (l *LogEventManager) Stop() error

func (*LogEventManager) Subscribe

func (l *LogEventManager) Subscribe(id rpc.ID, encryptedLogSubscription common.EncryptedParamsLogSubscription, matchedLogsCh chan []byte) error

func (*LogEventManager) Unsubscribe

func (l *LogEventManager) Unsubscribe(id rpc.ID)

Jump to

Keyboard shortcuts

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