db

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCouponNotExist    = errors.New("coupon does not exist")
	ErrCouponAlreadyUsed = errors.New("coupon already used")
)

Functions

func NewLocalDBClient

func NewLocalDBClient() (*localDB, error)

NewLocalDBClient creates a new local db client

func NewS3Client

func NewS3Client(couponsBucket string) (*s3Client, error)

NewS3Client returns a new s3 client

Types

This section is empty.

Jump to

Keyboard shortcuts

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