postgresdb

package
v0.19.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateDsn

func GenerateDsn(params db.ConnectionParams) string

GenerateDsn generates a dsn from the provided connection params

Types

type RegistryBackend

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

func (*RegistryBackend) Close

func (b *RegistryBackend) Close()

func (*RegistryBackend) GetRemote

func (b *RegistryBackend) GetRemote(schema string) (contents []byte, err error)

func (*RegistryBackend) Initialize

func (b *RegistryBackend) Initialize(conf config.Backend) error

type Sink

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

func (*Sink) Dequeue

func (s *Sink) Dequeue(ctx context.Context, envelopes []envelope.Envelope, output string) error

func (*Sink) Enqueue

func (s *Sink) Enqueue(envelopes []envelope.Envelope) error

func (*Sink) Initialize

func (s *Sink) Initialize(conf config.Sink) error

func (*Sink) Metadata

func (s *Sink) Metadata() backendutils.SinkMetadata

func (*Sink) Shutdown

func (s *Sink) Shutdown() error

func (*Sink) StartWorker

func (s *Sink) StartWorker() error

Jump to

Keyboard shortcuts

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