http

package
v0.0.0-...-a1f2feb Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2025 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateConsole

func CreateConsole(ctx context.Context, logger *slog.Logger, db repository.DatabaseQueryExecutor) server.Route

CreateConsole creates a new console.

func ListConsoles

func ListConsoles(ctx context.Context, logger *slog.Logger, db repository.DatabaseQueryExecutor) server.Route

ListConsoles returns a list of consoles.

func SearchConsoleByID

func SearchConsoleByID(ctx context.Context, logger *slog.Logger, db repository.DatabaseQueryExecutor) server.Route

SearchConsoleByID returns a console by id.

func SearchGameByName

func SearchGameByName(ctx context.Context, logger *slog.Logger, igdbClient usecase.IgdbGameFinder) server.Route

SearchGameByName returns a list of games that match the given name.

Types

type ErrBind

type ErrBind string

ErrBind represents when a bind error occurred.

func (ErrBind) Error

func (e ErrBind) Error() string

Error method to implement error interface.

Jump to

Keyboard shortcuts

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