cloudevents

package
v1.1.25 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudEventSaver

type CloudEventSaver struct {
	natsservice.NatsService
	// contains filtered or unexported fields
}

CloudEventSaver listens to all cloud events and saves them in a postgresql database

func NewCloudEventSaver added in v0.1.15

func NewCloudEventSaver(postgresConfig natsservice.PostgresConfig, mysqlConfig natsservice.MysqlConfig) *CloudEventSaver

func (*CloudEventSaver) Logger

func (svc *CloudEventSaver) Logger() *logrus.Entry

func (*CloudEventSaver) Run

func (svc *CloudEventSaver) Run(ctx context.Context, params ...interface{}) error

type CloudEventsDatabase added in v1.1.20

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

func (*CloudEventsDatabase) InsertEvent added in v1.1.20

func (d *CloudEventsDatabase) InsertEvent(topic string, e *event.Event, payload []byte, err error) error

func (*CloudEventsDatabase) Open added in v1.1.20

type VariablesDatabase added in v1.1.20

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

func (*VariablesDatabase) Open added in v1.1.20

func (d *VariablesDatabase) Open(dbConfig natsservice.MysqlConfig) error

Jump to

Keyboard shortcuts

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