dynamodb

package
v0.0.0-...-e79d758 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	Connection *dynamodb.DynamoDB
	TableName  string
}

func NewAdapter

func NewAdapter(tableName string) (*Adapter, error)

func (Adapter) FindPlayersById

func (a Adapter) FindPlayersById(ctx context.Context, playerId string) (player domain.Player, err error)

func (Adapter) FindPlayersByTeamId

func (a Adapter) FindPlayersByTeamId(ctx context.Context, teamId int) (players []domain.Player, err error)

Jump to

Keyboard shortcuts

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