Documentation ¶
Index ¶
- type Items
- func (p Items) Create(ctx context.Context, req arcade.ItemRequest) (arcade.Item, error)
- func (p Items) Get(ctx context.Context, itemID string) (arcade.Item, error)
- func (p Items) List(ctx context.Context, filter arcade.ItemsFilter) ([]arcade.Item, error)
- func (p Items) Remove(ctx context.Context, itemID string) error
- func (p Items) Update(ctx context.Context, itemID string, req arcade.ItemRequest) (arcade.Item, error)
- type Links
- func (p Links) Create(ctx context.Context, req arcade.LinkRequest) (arcade.Link, error)
- func (p Links) Get(ctx context.Context, linkID string) (arcade.Link, error)
- func (p Links) List(ctx context.Context, filter arcade.LinksFilter) ([]arcade.Link, error)
- func (p Links) Remove(ctx context.Context, linkID string) error
- func (p Links) Update(ctx context.Context, linkID string, req arcade.LinkRequest) (arcade.Link, error)
- type Players
- func (p Players) Create(ctx context.Context, req arcade.PlayerRequest) (arcade.Player, error)
- func (p Players) Get(ctx context.Context, playerID string) (arcade.Player, error)
- func (p Players) List(ctx context.Context, filter arcade.PlayersFilter) ([]arcade.Player, error)
- func (p Players) Remove(ctx context.Context, playerID string) error
- func (p Players) Update(ctx context.Context, playerID string, req arcade.PlayerRequest) (arcade.Player, error)
- type Rooms
- func (p Rooms) Create(ctx context.Context, req arcade.RoomRequest) (arcade.Room, error)
- func (p Rooms) Get(ctx context.Context, roomID string) (arcade.Room, error)
- func (p Rooms) List(ctx context.Context, filter arcade.RoomsFilter) ([]arcade.Room, error)
- func (p Rooms) Remove(ctx context.Context, roomID string) error
- func (p Rooms) Update(ctx context.Context, roomID string, req arcade.RoomRequest) (arcade.Room, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Items ¶
type Items struct { DB *sql.DB Driver arcade.StorageDriver }
Items is used to manage the persistent storage of item assets.
type Links ¶
type Links struct { DB *sql.DB Driver arcade.StorageDriver }
Links is used to manage the persistent storage of link assets.
type Players ¶
type Players struct { DB *sql.DB Driver arcade.StorageDriver }
Players is used to manage the persistent storage of player assets.
type Rooms ¶
type Rooms struct { DB *sql.DB Driver arcade.StorageDriver }
Rooms is used to manage the persistent storage of room assets.
Click to show internal directories.
Click to hide internal directories.