Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CombTbAndCurrIDs ¶
CombTbAndCurrIDs combines tableID and currencyID in the following format: "$(tableID):$(currencyID)" Example: tableID = 100, currencyID = USD ==> "100:USD"
Types ¶
type Last20Results ¶
type PragmaticTable ¶
type PragmaticTable struct {
TotalSeatedPlayers int `json:"totalSeatedPlayers"`
Last20Results []Last20Results `json:"last20Results"`
TableId string `json:"tableId"`
TableName string `json:"tableName"`
NewTable bool `json:"newTable"`
LanguageSpecificTableInfo string `json:"languageSpecificTableInfo"`
TableImage string `json:"tableImage"`
TableLimits TableLimits `json:"tableLimits"`
Dealer Dealer `json:"dealer"`
TableOpen bool `json:"tableOpen"`
TableType string `json:"tableType"`
TableSubtype string `json:"tableSubtype"`
Currency string `json:"currency"`
}
func Bytes2PT ¶
func Bytes2PT(data []byte) (PragmaticTable, error)
Bytes2PT unmarshal bytes array into PragmaticTable.
type PragmaticTableWithID ¶
type PragmaticTableWithID struct {
// tID = 100; cID = 200 => TableAndCurrencyID = "100:200"
TableAndCurrencyID string `json:"tableAndCurrencyID,omitempty"`
PragmaticTable PragmaticTable `json:"pragmaticTable"`
}
Click to show internal directories.
Click to hide internal directories.