Documentation ¶ Index ¶ type Storage func New() *Storage func (s *Storage) GetGame(ctx context.Context, gameID string) (*entity.Game, error) func (s *Storage) SaveGame(ctx context.Context, game entity.Game) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Storage ¶ type Storage struct { // contains filtered or unexported fields } func New ¶ func New() *Storage func (*Storage) GetGame ¶ func (s *Storage) GetGame(ctx context.Context, gameID string) (*entity.Game, error) func (*Storage) SaveGame ¶ func (s *Storage) SaveGame(ctx context.Context, game entity.Game) error Source Files ¶ View all Source files storage.go Click to show internal directories. Click to hide internal directories.