store

package
v0.0.0-...-5643740 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBStore

type DBStore struct {
	Key    string  `dynamodbav:"key"`
	Value  string  `dynamodbav:"value"`
	Expire float64 `dynamodbav:"expire"`
}

DBStore represents DB Model for the store table

type Repository

type Repository interface {
	SetActiveSignatureMetaData(ctx context.Context, key string, expire int64, value string) error
	GetActiveSignatureMetaData(ctx context.Context, UserId string) (map[string]interface{}, error)
	DeleteActiveSignatureMetaData(ctx context.Context, key string) error
}

Repository interface

func NewRepository

func NewRepository(awsSession *session.Session, stage string) Repository

NewRepository initiates Store repository instance

Jump to

Keyboard shortcuts

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