dynamostore

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package dynamostore implements webhook.Store backed by DynamoDB via the generic dynamostore package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

Store implements webhook.Store.

func New

func New(db *ds.Store) *Store

New creates a DynamoDB-backed webhook store.

func (*Store) Delete

func (s *Store) Delete(ctx context.Context, id string) error

func (*Store) Get

func (s *Store) Get(ctx context.Context, id string) (*webhook.Config, error)

func (*Store) List

func (s *Store) List(ctx context.Context) ([]webhook.Config, error)

func (*Store) ListByEvent

func (s *Store) ListByEvent(ctx context.Context, event string) ([]webhook.Config, error)

func (*Store) Save

func (s *Store) Save(ctx context.Context, cfg *webhook.Config) error

Jump to

Keyboard shortcuts

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