Documentation ¶
Overview ¶
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Index ¶
- Constants
- func CreateSession() *session.Session
- func ProcessingDelete(target, guid string) error
- func ProcessingInsert(target, guid, host string, epoch int64, payload string) error
- func SimulationDelete(guid string) error
- func SimulationInsert(target, guid, host, strategy, rules, decks string, epoch int64, ...) error
- func StrategyScan(strategy, rules, decks string) (*dynamodb.ScanOutput, error)
- type TableRules
Constants ¶
View Source
const (
ProcessingTableName = "StrikerProcessing"
)
View Source
const (
RulesTableName = "StrikerRules"
)
View Source
const (
SimulationTableName = "StrikerSimulation"
)
View Source
const (
StrategyTableName = "StrikerStrategy"
)
Variables ¶
This section is empty.
Functions ¶
func CreateSession ¶
Initialize a session that the SDK will use to load credentials from the shared credentials file ~/.aws/credentials and region from the shared configuration file ~/.aws/config.
func ProcessingDelete ¶
func ProcessingInsert ¶
func SimulationDelete ¶
func SimulationInsert ¶
func StrategyScan ¶
func StrategyScan(strategy, rules, decks string) (*dynamodb.ScanOutput, error)
Types ¶
type TableRules ¶
type TableRules struct { Rules string Decks string HitSoft17 bool Surrender bool DoubleAnyTwoCards bool DoubleAfterSplit bool ResplitAces bool HitSplitAces bool }
func RulesSelect ¶
func RulesSelect(rules, decks string) (*TableRules, error)
Click to show internal directories.
Click to hide internal directories.