mrlogadapter

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventEmitter

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

EventEmitter - comment struct.

func NewEventEmitter

func NewEventEmitter(logger mrlog.Logger) *EventEmitter

NewEventEmitter - создаёт объект EventEmitter.

func (*EventEmitter) Emit

func (l *EventEmitter) Emit(_ context.Context, eventName string, object any)

Emit - comment method.

func (*EventEmitter) EmitWithSource

func (l *EventEmitter) EmitWithSource(_ context.Context, eventName, source string, object any)

EmitWithSource - comment method.

Jump to

Keyboard shortcuts

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