persistence

package
v0.0.0-...-5062497 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DynamoDbAdapter

type DynamoDbAdapter struct {
	// contains filtered or unexported fields
}

func NewDynamoDbWriter

func NewDynamoDbWriter() *DynamoDbAdapter

func (*DynamoDbAdapter) DynamoDb

func (adapter *DynamoDbAdapter) DynamoDb() *dynamodb.DynamoDB

type ScoreBoardReader

type ScoreBoardReader struct {
	// contains filtered or unexported fields
}

func NewScoreBoardReader

func NewScoreBoardReader(adapter *DynamoDbAdapter) *ScoreBoardReader

func (*ScoreBoardReader) ReadScoreBoard

func (reader *ScoreBoardReader) ReadScoreBoard() *pb.ScoreBoard

type ScoreBoardSerializer

type ScoreBoardSerializer struct {
	// contains filtered or unexported fields
}

func NewScoreBoardSerializer

func NewScoreBoardSerializer(userNameRegistry *utils.UserNamesRegistry, adapter *DynamoDbAdapter,
	idManager *utils.IdManager, eventDispatcher *events.EventDispatcher) *ScoreBoardSerializer

func (*ScoreBoardSerializer) HandleObjectDestroyed

func (serializer *ScoreBoardSerializer) HandleObjectDestroyed(objectDestroyed *events.ObjectDestroyed)

Jump to

Keyboard shortcuts

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