simulator

package
v0.0.0-...-e06870b Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2021 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type PlayerResp

type PlayerResp struct {
	Data []struct {
		FirstName string `json:"first_name"`
		LastName  string `json:"last_name"`
		Team      struct {
			Abbreviation string `json:"abbreviation"`
			FullName     string `json:"full_name"`
		} `json:"team"`
	} `json:"data"`

	Meta struct {
		CurrentPage int `json:"current_page"`
		TotalPages  int `json:"total_pages"`
	} `json:"meta"`
}

type Simulator

type Simulator struct {
	GameService           service.GameService
	TeamService           service.TeamService
	PlayerService         service.PlayerService
	PlayerGameInfoService service.PlayerGameInfoService
}

func New

func New() *Simulator

func (*Simulator) InitFromAPI

func (s *Simulator) InitFromAPI()

func (*Simulator) Run

func (s *Simulator) Run()

Jump to

Keyboard shortcuts

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