bigquery

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventDataWriter

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

EventDataWriter implement writer interface.

func NewEventDataWriter

func NewEventDataWriter(ctx context.Context, projectID string) (*EventDataWriter, error)

NewEventDataWriter creates a new instance of EventDataWriter.

func (*EventDataWriter) Add

func (w *EventDataWriter) Add(ctx context.Context, eventData provider.Event) error

Add adds event data coming from webhooks.

func (*EventDataWriter) Close

func (w *EventDataWriter) Close() error

Closes the connection to the database.

Jump to

Keyboard shortcuts

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