controller

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestHandler

type RequestHandler struct {
}

type UnderstatController

type UnderstatController struct {
	Cache *cache.Repository
}

func New

func New() *UnderstatController

func (*UnderstatController) GetGames

func (p *UnderstatController) GetGames(league model.League, year model.Year) (*model.Games, error)

func (*UnderstatController) GetPlayers

func (p *UnderstatController) GetPlayers(league model.League, year model.Year) (*model.Players, error)

func (*UnderstatController) GetTeams

func (p *UnderstatController) GetTeams(league model.League, year model.Year) (*model.Teams, error)

Jump to

Keyboard shortcuts

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