redis

package
v0.0.0-...-37f97d0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	*redis.Service
}

Store for space in redis.

func (*Store) DeleteSector

func (s *Store) DeleteSector(ctx context.Context, filter space.FilterSector) error

DeleteSector implementation for sector in redis.

func (*Store) DeleteTileSet

func (s *Store) DeleteTileSet(ctx context.Context, filter space.FilterTileSet) error

DeleteTileSet implementation for tileset in redis.

func (*Store) DeleteWorld

func (s *Store) DeleteWorld(ctx context.Context, filter space.FilterWorld) error

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

func (s *Store) FetchSector(ctx context.Context, filter space.FilterSector) (space.Sector, error)

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

func (s *Store) FetchWorld(ctx context.Context, filter space.FilterWorld) (space.World, error)

FetchWorld implementation for world in redis.

func (*Store) UpsertManySector

func (s *Store) UpsertManySector(ctx context.Context, secs []space.Sector) error

UpsertManySector implementation for sector in redis.

func (*Store) UpsertManyTileSet

func (s *Store) UpsertManyTileSet(ctx context.Context, tss []space.TileSet) error

UpsertManyTileSet implementation for tileset in redis.

func (*Store) UpsertSector

func (s *Store) UpsertSector(ctx context.Context, sec space.Sector) error

UpsertSector implementation for sector in redis.

func (*Store) UpsertTileSet

func (s *Store) UpsertTileSet(ctx context.Context, ts space.TileSet) error

UpsertTileSet implementation for tileset in redis.

func (*Store) UpsertWorld

func (s *Store) UpsertWorld(ctx context.Context, world space.World) error

UpsertWorld implementation for world in redis.

Jump to

Keyboard shortcuts

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