Versions in this module Expand all Collapse all v1 v1.3.10 Sep 30, 2022 Changes in this version + type AboutRequester interface + PreviousDeployment func() (*request.Deployment, error) + type AdminTab struct + Action string + Data []interface{} + Name string + func (at AdminTab) GetID() string + func (at AdminTab) GetName() string + type Config struct + DisplayName string + HtmlFS fs.FS + JavascriptFS fs.FS + LogRequestURIs bool + NflAppKey string + Port string + StaticFS fs.FS + func (cfg Config) New(log *log.Logger, ds ServerDatastore, httpClient request.HTTPClient) (*Server, error) + type EtlStats struct + type Page struct + ApplicationName string + PageLoadTime time.Time + ShowTabs bool + Sports []SportEntry + Tabs []Tab + TimesMessage TimesMessage + Title string + type Server struct + func (s Server) Run() error + type ServerDatastore interface + GetYears func(st db.SportType) ([]db.Year, error) + type SportEntry struct + Name string + URL string + type StatsTab struct + ExportURL string + ScoreCategory request.ScoreCategory + func (st StatsTab) GetID() string + func (st StatsTab) GetName() string + type Tab interface + GetID func() string + GetName func() string + type TimesMessage struct + Messages []string + Times []time.Time