nileventstorage

package
v0.6.9-RC2 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogEvent

func LogEvent(ev *event.Event)

LogEvent actually logs the event

Types

type NilEventStorage

type NilEventStorage struct {
}

NilEventStorage is an implementation of the event storage interface that just logs but does not store the data

func NewNilEventStorage

func NewNilEventStorage() (*NilEventStorage, error)

NewNilEventStorage creates and initializes an instance of NewNilEventStorage

func (*NilEventStorage) LogEvent

func (p *NilEventStorage) LogEvent(ctx context.Context, ev *event.Event) error

LogEvent logs an event following the defined interface

Jump to

Keyboard shortcuts

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