Directories ¶
Path | Synopsis |
---|---|
pkg
|
|
dynamo
Package dynamo wraps the AWS DynamoDB SDK To insert a row: svc, _ := dynamo.New(conf) row := &types.Row{...} count, err := dynamo.Insert(svc, row)
|
Package dynamo wraps the AWS DynamoDB SDK To insert a row: svc, _ := dynamo.New(conf) row := &types.Row{...} count, err := dynamo.Insert(svc, row) |
dynatomic
Package dynatomic provides a convenient wrapper API around using DynamoDB as highly available, concurrent, and performant asynchronous atomic counter Basic usage: // Initialize the dynatomic backround goroutine with a batch size of 100, // a wait time of a second, an AWS config and a function that will // notify the user of internal errors d := New(100, time.Second, config, errHandler) d.RowChan <- &types.Row{...} d.RowChan <- &types.Row{...} d.RowChan <- &types.Row{...} ...
|
Package dynatomic provides a convenient wrapper API around using DynamoDB as highly available, concurrent, and performant asynchronous atomic counter Basic usage: // Initialize the dynatomic backround goroutine with a batch size of 100, // a wait time of a second, an AWS config and a function that will // notify the user of internal errors d := New(100, time.Second, config, errHandler) d.RowChan <- &types.Row{...} d.RowChan <- &types.Row{...} d.RowChan <- &types.Row{...} ... |
types
Package types abstracts the table and row details making it easy to use dynamodb as an atomic counter
|
Package types abstracts the table and row details making it easy to use dynamodb as an atomic counter |
Click to show internal directories.
Click to hide internal directories.