subscription

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	Client    *dynamodb.Client
	TableName string
	IndexName string
}

func (*Database) Add

func (udb *Database) Add(newSubscription *manager.Subscription) error

func (*Database) Delete

func (udb *Database) Delete(connectionID string, operationID string) error

func (*Database) GetOne

func (udb *Database) GetOne(connectionID string) (*manager.Subscription, error)

func (*Database) List

func (udb *Database) List(eventKey string, from *string) (*manager.SubscriptionResponse, error)

Jump to

Keyboard shortcuts

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