Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LambdaFunctions ¶
func LambdaFunctions(api *sparta.API) []*sparta.LambdaAWSInfo
Types ¶
type Customer ¶
type Customer struct { PK string SK string GSI2PK string Phone string // Customer's unique key. StorePhone string // Foreign key to customer's store. Contact Contact }
func (*Customer) MakeGSI2PK ¶
func (Customer) PutRental ¶
func (c Customer) PutRental() (CustomerRental, error)
type CustomerRental ¶
CustomerRental represents an occasion when the customer rented movies.
func (*CustomerRental) Init ¶
func (cr *CustomerRental) Init()
func (*CustomerRental) MakePK ¶
func (cr *CustomerRental) MakePK() string
func (*CustomerRental) MakeSK ¶
func (cr *CustomerRental) MakeSK() string
Click to show internal directories.
Click to hide internal directories.