Documentation ¶
Index ¶
- type Player
- type PlayerImpl
- func (g *PlayerImpl) Add(ctx context.Context, player *v1player.Player) error
- func (g *PlayerImpl) Delete(ctx context.Context, filter interface{}) error
- func (g *PlayerImpl) FindOne(ctx context.Context, filter interface{}) (*v1player.Player, error)
- func (g *PlayerImpl) Update(ctx context.Context, filter interface{}, update interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Player ¶
type Player interface { //add player Add(ctx context.Context, player *v1player.Player) (err error) //find FindOne(ctx context.Context, filter interface{}) (*v1player.Player, error) //update player Update(ctx context.Context, filter interface{}, update interface{}) error //delete player Delete(ctx context.Context, filter interface{}) error }
player interface
Click to show internal directories.
Click to hide internal directories.