Documentation ¶
Overview ¶
Copyright © 2019 NAME HERE <EMAIL ADDRESS>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © 2019 NAME HERE <EMAIL ADDRESS>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © 2019 NAME HERE <EMAIL ADDRESS>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © 2019 NAME HERE <EMAIL ADDRESS>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © 2019 NAME HERE <EMAIL ADDRESS>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Contract ¶
type Contract struct { ContType ContractType `json:"contract_type"` DisplayOrder string `json:"display_order"` Hidden bool `json:"hidden"` Id string `json:"id"` Info string `json:"-"` MarketId string `json:"market_id"` Name string `json:"name"` OutcomeTimestamp string `json:"outcome_timestamp"` Slug string `json:"string"` StateOrOutcome string `json:"state_or_outcome"` }
type ContractType ¶
type Event ¶
type Event struct { Bettable bool `json:"bettable"` Created string `json:"created"` Description string `json:"description"` DisplayOrder int `json:"display_order"` EndDate string `json:"end_date"` FullSlug string `json:"full_slug"` Hidden bool `json:"hidden"` Id string `json:"id"` InplayEnabled bool `json:"inplay_enabled"` Modified string `json:"modified"` Name string `json:"name"` ParentId string `json:"parent_id"` ShortName string `json:"short_name"` Slug string `json:"slug"` SpecialRules string `json:"special_rules"` StartDate string `json:"start_date"` StartDateTime string `json:"start_datetime"` State string `json:"upcoming"` EventType EventType `json:"type"` }
type Market ¶
type Market struct { MarkType MartketType `json:"market_type"` BetDelay int `json:"bet_delay"` Category string `json:"category"` Complete bool `json:"complete"` ContractSelections string `json:"-"` Description string `json:"description"` DisplayOrder int `json:"display_order"` DisplayType string `json:"display_type"` EventId string `json:"event_id"` Hidden bool `json:"hidden"` Id string `json:"id"` Name string `json:"name"` Slug string `json:"slug"` State string `json:"state"` WinnerCount int `json:"winner_count"` }