Documentation
¶
Index ¶
- Variables
- type Engine
- func (e Engine) CreateWordle(ctx context.Context, in model.Wordle) (model.Wordle, error)
- func (e Engine) DeleteWordle(ctx context.Context, id string, opts ...wordle.Option) (model.Wordle, error)
- func (e Engine) GetWordle(ctx context.Context, id string, opts ...wordle.Option) (model.Wordle, error)
- func (e Engine) ListWordles(ctx context.Context, opts ...wordle.Option) ([]model.Wordle, string, error)
- func (e Engine) UpdateWordle(ctx context.Context, in model.Wordle, opts ...wordle.Option) (model.Wordle, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var BaseModule = fx.Provide( NewEngine, )
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func NewEngine ¶
func NewEngine( wordRepository word.Repository, wordleRepository wordle.Repository, ) *Engine
func (Engine) CreateWordle ¶
func (Engine) DeleteWordle ¶
func (Engine) ListWordles ¶
Click to show internal directories.
Click to hide internal directories.