boxscore

package
v0.0.0-...-5888283 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {
	Routes() chi.Router
	Get(w http.ResponseWriter, r *http.Request)
}

func NewHandler

func NewHandler(logger *slog.Logger, boxscoreService Service) Handler

type Service

type Service interface {
	Get(ctx context.Context, gameID, gameDate string) (api.Boxscore, error)
}

func NewService

func NewService() Service

Jump to

Keyboard shortcuts

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