postgres

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Store)

func WithLogger

func WithLogger(l loglib.Logger) Option

type Store

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

func NewSubscriptionStore

func NewSubscriptionStore(ctx context.Context, url string, opts ...Option) (*Store, error)

func (*Store) CreateSubscription

func (s *Store) CreateSubscription(ctx context.Context, subscription *subscription.Subscription) error

func (*Store) DeleteSubscription

func (s *Store) DeleteSubscription(ctx context.Context, subscription *subscription.Subscription) error

func (*Store) GetSubscriptions

func (s *Store) GetSubscriptions(ctx context.Context, action, schema, table string) ([]*subscription.Subscription, error)

Jump to

Keyboard shortcuts

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