Documentation ¶
Index ¶
- Variables
- type Bet
- func (*Bet) Descriptor() ([]byte, []int)deprecated
- func (x *Bet) GetCreateTime() int64
- func (x *Bet) GetCurrency() string
- func (x *Bet) GetCustomerUuid() string
- func (x *Bet) GetExchangeRate() float64
- func (x *Bet) GetOdds() float64
- func (x *Bet) GetSelections() []*Selection
- func (x *Bet) GetStake() float64
- func (x *Bet) GetUuid() string
- func (*Bet) ProtoMessage()
- func (x *Bet) ProtoReflect() protoreflect.Message
- func (x *Bet) Reset()
- func (x *Bet) String() string
- type Selection
- func (*Selection) Descriptor() ([]byte, []int)deprecated
- func (x *Selection) GetBetUuid() string
- func (x *Selection) GetGameId() uint64
- func (x *Selection) GetId() uint32
- func (x *Selection) GetMarket() string
- func (x *Selection) GetOdds() float64
- func (*Selection) ProtoMessage()
- func (x *Selection) ProtoReflect() protoreflect.Message
- func (x *Selection) Reset()
- func (x *Selection) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_event_payload_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Bet ¶
type Bet struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" gorm:"primaryKey;type:char(36);"` CreateTime int64 `protobuf:"varint,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` CustomerUuid string `protobuf:"bytes,3,opt,name=customer_uuid,json=customerUuid,proto3" json:"customer_uuid,omitempty"` Stake float64 `protobuf:"fixed64,4,opt,name=stake,proto3" json:"stake,omitempty" gorm:"type:decimal(28,8);"` Currency string `protobuf:"bytes,5,opt,name=currency,proto3" json:"currency,omitempty"` ExchangeRate float64 `` /* 126-byte string literal not displayed */ Selections []*Selection `` /* 143-byte string literal not displayed */ Odds float64 `protobuf:"fixed64,8,opt,name=odds,proto3" json:"odds,omitempty" gorm:"type:decimal(28,8);"` // contains filtered or unexported fields }
func (*Bet) Descriptor
deprecated
func (*Bet) GetCreateTime ¶
func (*Bet) GetCurrency ¶
func (*Bet) GetCustomerUuid ¶
func (*Bet) GetExchangeRate ¶
func (*Bet) GetSelections ¶
func (*Bet) ProtoMessage ¶
func (*Bet) ProtoMessage()
func (*Bet) ProtoReflect ¶
func (x *Bet) ProtoReflect() protoreflect.Message
type Selection ¶
type Selection struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" gorm:"primaryKey;autoIncrement:true"` BetUuid string `protobuf:"bytes,2,opt,name=bet_uuid,json=betUuid,proto3" json:"bet_uuid,omitempty" gorm:"type:char(36);"` GameId uint64 `protobuf:"varint,3,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"` Market string `protobuf:"bytes,4,opt,name=market,proto3" json:"market,omitempty" gorm:"type:varchar(255)"` Odds float64 `protobuf:"fixed64,5,opt,name=odds,proto3" json:"odds,omitempty" gorm:"type:decimal;"` // contains filtered or unexported fields }
func (*Selection) Descriptor
deprecated
func (*Selection) GetBetUuid ¶
func (*Selection) ProtoMessage ¶
func (*Selection) ProtoMessage()
func (*Selection) ProtoReflect ¶
func (x *Selection) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.