Documentation ¶
Index ¶
- type Store
- func (s *Store) Delete(ctx context.Context, filter player.Filter) error
- func (s *Store) DeleteInventory(ctx context.Context, filter player.FilterInventory) error
- func (s *Store) DeleteSpawn(ctx context.Context, filter player.FilterSpawn) error
- func (s *Store) Fetch(ctx context.Context, filter player.Filter) (player.P, error)
- func (s *Store) FetchInventory(ctx context.Context, filter player.FilterInventory) (player.Inventory, error)
- func (s *Store) FetchMany(ctx context.Context, filter player.Filter) (map[string]player.P, error)
- func (s *Store) FetchSpawn(ctx context.Context, filter player.FilterSpawn) (player.Spawn, error)
- func (s *Store) Upsert(ctx context.Context, p player.P) error
- func (s *Store) UpsertInventory(ctx context.Context, inv player.Inventory) error
- func (s *Store) UpsertSpawn(ctx context.Context, sp player.Spawn) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
Store for entity in redis.
func (*Store) DeleteInventory ¶
Delete implementation for player in redis.
func (*Store) DeleteSpawn ¶
DeleteSpawn implementation for player spawn in redis.
func (*Store) FetchInventory ¶
func (s *Store) FetchInventory(ctx context.Context, filter player.FilterInventory) (player.Inventory, error)
Fetch implementation for player in redis.
func (*Store) FetchSpawn ¶
FetchSpawn implementation for player spawn in redis.
func (*Store) UpsertInventory ¶
Upsert implementation for player in redis.
Click to show internal directories.
Click to hide internal directories.