notificationchannel

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel struct {
	ID   uuid.UUID
	Name string
	Dest gadb.DestV1
}

type Store

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

func NewStore added in v0.30.0

func NewStore(ctx context.Context, db *sql.DB, reg *nfydest.Registry) (*Store, error)

func (*Store) DeleteManyTx

func (s *Store) DeleteManyTx(ctx context.Context, tx *sql.Tx, ids []string) error

func (*Store) FindDestByID added in v0.33.0

func (s *Store) FindDestByID(ctx context.Context, tx gadb.DBTX, id uuid.UUID) (gadb.DestV1, error)

func (*Store) FindMany added in v0.30.0

func (s *Store) FindMany(ctx context.Context, ids []string) ([]Channel, error)

func (*Store) FindOne

func (s *Store) FindOne(ctx context.Context, id uuid.UUID) (*Channel, error)

func (*Store) LookupDestID added in v0.33.0

func (s *Store) LookupDestID(ctx context.Context, tx *sql.Tx, d gadb.DestV1) (uuid.UUID, error)

func (*Store) MapDestToID added in v0.33.0

func (s *Store) MapDestToID(ctx context.Context, tx gadb.DBTX, d gadb.DestV1) (uuid.UUID, error)

Jump to

Keyboard shortcuts

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