Versions in this module Expand all Collapse all v0 v0.5.0 Jul 14, 2023 Changes in this version + var RequestTimeout = 32 * time.Second + type API struct + func Dial(ctx context.Context, env uof.Environment, token string) (*API, error) + func Production(exitSig context.Context, token string) (*API, error) + func ProductionGlobal(exitSig context.Context, token string) (*API, error) + func Staging(exitSig context.Context, token string) (*API, error) + func (a *API) Competitor(lang uof.Lang, playerID int) (*uof.CompetitorPlayer, error) + func (a *API) Fixture(lang uof.Lang, eventURN uof.URN) (*uof.Fixture, error) + func (a *API) Fixtures(lang uof.Lang, to time.Time) (<-chan uof.Fixture, <-chan error) + func (a *API) GetBookmakerDetails() (*BookmakerDetails, error) + func (a *API) MarketVariant(lang uof.Lang, marketID int, variant string) (uof.MarketDescriptions, error) + func (a *API) Markets(lang uof.Lang) (uof.MarketDescriptions, error) + func (a *API) Ping() error + func (a *API) Player(lang uof.Lang, playerID int) (*uof.Player, error) + func (a *API) RequestFullOddsRecovery(producer uof.Producer, requestID int) error + func (a *API) RequestRecovery(producer uof.Producer, timestamp int, requestID int) error + func (a *API) RequestRecoverySinceTimestamp(producer uof.Producer, timestamp int, requestID int) error + func (a *API) Summary(lang uof.Lang, eventURN uof.URN) (*uof.Summary, error) + func (a *API) Tournament(lang uof.Lang, eventURN uof.URN) (*uof.FixtureTournament, error) + type BookmakerDetails struct + BookmakerID string + ExpireAt string + ResponseCode string + VirtualHost string + XMLName xml.Name + type ReplayAPI struct + func Replay(exitSig context.Context, token string, stag bool) (*ReplayAPI, error) + func (r *ReplayAPI) Add(eventURN uof.URN) error + func (r *ReplayAPI) Play(speed, maxDelay int) error + func (r *ReplayAPI) Reset() error + func (r *ReplayAPI) StartEvent(eventURN uof.URN, speed, maxDelay int) error + func (r *ReplayAPI) StartScenario(scenarioID, speed, maxDelay int) error + func (r *ReplayAPI) Stop() error