Documentation ¶
Index ¶
- type Dynamo
- type Option
- func Credentials(accessKey, secretKey string) Option
- func Endpoint(endpoint string) Option
- func GeneralDelay(generalDelay time.Duration) Option
- func HumanTableName(humanTableName string) Option
- func MaxDynamoActionWait(max time.Duration) Option
- func MaxDynamoResponseWait(max time.Duration) Option
- func MaxWaitForDynamo(max time.Duration) Option
- func Region(region string) Option
- func Stdout(stdout io.Writer) Option
- func Verbosity(verbosity int) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func Credentials ¶
Credentials sets the access and secret keys for the dynamo package.
func GeneralDelay ¶
GeneralDelay sets the general delay between actions.
The default is 10 milliseconds.
func HumanTableName ¶
HumanTableName sets the human readable table name.
func MaxDynamoActionWait ¶
MaxDynamoActionWait sets the maximum time to wait for an action to complete.
The default is 5 seconds.
func MaxDynamoResponseWait ¶
MaxDynamoResponseWait sets the maximum time to wait for a response from DynamoDB.
The default is 20 microseconds.
func MaxWaitForDynamo ¶
MaxWaitForDynamo sets the maximum time to wait for DynamoDB to be ready.
The default is 10 seconds.
Click to show internal directories.
Click to hide internal directories.