Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountDetails ¶
type AccountDetails struct { Id int `json:"id"` Username string `json:"username"` Name NameDetails `json:"name"` }
type AddressDetails ¶
type AddressDetails struct { }
type BaseResponse ¶
type Event ¶
type Event struct { Id int `json:"id"` Name string `json:"name"` SportId int `json:"sport-id"` Start time.Time `json:"start"` InRunningFlag bool `json:"in-running-flag"` AllowLiveBetting bool `json:"allow-live-betting"` CategoryId []int `json:"category-id"` Status string `json:"status"` Volume float32 `json:"volume"` Markets []Market `json:"markets"` MetaTags []MetaTag `json:"meta-tags"` }
type EventsResult ¶
type EventsResult struct { BaseResponse Events []Event `json:"events"` }
type LoginResponse ¶
type LoginResponse struct { SessionToken string `json:"session-token"` UserId string `json:"user-id"` Role string `json:"role"` Account AccountDetails `json:"account"` Email string `json:"email"` PhoneNumber string `json:"phone-number"` Address AddressDetails `json:"address"` }
type Market ¶
type Market struct { Live bool `json:"live"` EventId int `json:"event-id"` Id int `json:"id"` Name string `json:"name"` Runners []Runner `json:"runners"` Start time.Time `json:"start"` InRunningFlag bool `json:"in-running-flag"` AllowLiveBetting bool `json:"allow-live-betting"` Status string `json:"status"` MarketType string `json:"market-type"` Type string `json:"type"` Volume float32 `json:"volume"` BackOverround float32 `json:"back-overround"` LayOverround float32 `json:"lay-overround"` }
type NameDetails ¶
type PriceDetail ¶
type RequestSpecification ¶
type SportsResult ¶
type SportsResult struct { BaseResponse Sports []Sport `json:"sports"` }
Click to show internal directories.
Click to hide internal directories.