Documentation ¶
Index ¶
- type Store
- func (s *Store) DeleteSector(ctx context.Context, filter space.FilterSector) error
- func (s *Store) DeleteTileSet(ctx context.Context, filter space.FilterTileSet) error
- func (s *Store) DeleteWorld(ctx context.Context, filter space.FilterWorld) error
- func (s *Store) FetchManySector(ctx context.Context, c chan<- space.Sector, filter space.FilterSector) error
- func (s *Store) FetchManyTileSet(ctx context.Context, c chan<- space.TileSet, filter space.FilterTileSet) error
- func (s *Store) FetchSector(ctx context.Context, filter space.FilterSector) (space.Sector, error)
- func (s *Store) FetchTileSet(ctx context.Context, filter space.FilterTileSet) (space.TileSet, error)
- func (s *Store) FetchWorld(ctx context.Context, filter space.FilterWorld) (space.World, error)
- func (s *Store) UpsertManySector(ctx context.Context, secs []space.Sector) error
- func (s *Store) UpsertManyTileSet(ctx context.Context, tss []space.TileSet) error
- func (s *Store) UpsertSector(ctx context.Context, sec space.Sector) error
- func (s *Store) UpsertTileSet(ctx context.Context, ts space.TileSet) error
- func (s *Store) UpsertWorld(ctx context.Context, world space.World) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
Store for space in redis.
func (*Store) DeleteSector ¶
DeleteSector implementation for sector in redis.
func (*Store) DeleteTileSet ¶
DeleteTileSet implementation for tileset in redis.
func (*Store) DeleteWorld ¶
DeleteWorld implementation for world in redis.
func (*Store) FetchManySector ¶
func (s *Store) FetchManySector(ctx context.Context, c chan<- space.Sector, filter space.FilterSector) error
FetchManySector implementation for sector in redis.
func (*Store) FetchManyTileSet ¶
func (s *Store) FetchManyTileSet(ctx context.Context, c chan<- space.TileSet, filter space.FilterTileSet) error
FetchManyTileSet implementation for tileset in redis.
func (*Store) FetchSector ¶
FetchSector implementation for sector in redis.
func (*Store) FetchTileSet ¶
func (s *Store) FetchTileSet(ctx context.Context, filter space.FilterTileSet) (space.TileSet, error)
FetchTileSet implementation for tileset in redis.
func (*Store) FetchWorld ¶
FetchWorld implementation for world in redis.
func (*Store) UpsertManySector ¶
UpsertManySector implementation for sector in redis.
func (*Store) UpsertManyTileSet ¶
UpsertManyTileSet implementation for tileset in redis.
func (*Store) UpsertSector ¶
UpsertSector implementation for sector in redis.
func (*Store) UpsertTileSet ¶
UpsertTileSet implementation for tileset in redis.