event

package
v0.0.0-...-519a79d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Bet.ProtoReflect.Descriptor instead.

func (*Bet) GetCreateTime

func (x *Bet) GetCreateTime() int64

func (*Bet) GetCurrency

func (x *Bet) GetCurrency() string

func (*Bet) GetCustomerUuid

func (x *Bet) GetCustomerUuid() string

func (*Bet) GetExchangeRate

func (x *Bet) GetExchangeRate() float64

func (*Bet) GetOdds

func (x *Bet) GetOdds() float64

func (*Bet) GetSelections

func (x *Bet) GetSelections() []*Selection

func (*Bet) GetStake

func (x *Bet) GetStake() float64

func (*Bet) GetUuid

func (x *Bet) GetUuid() string

func (*Bet) ProtoMessage

func (*Bet) ProtoMessage()

func (*Bet) ProtoReflect

func (x *Bet) ProtoReflect() protoreflect.Message

func (*Bet) Reset

func (x *Bet) Reset()

func (*Bet) String

func (x *Bet) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Selection.ProtoReflect.Descriptor instead.

func (*Selection) GetBetUuid

func (x *Selection) GetBetUuid() string

func (*Selection) GetGameId

func (x *Selection) GetGameId() uint64

func (*Selection) GetId

func (x *Selection) GetId() uint32

func (*Selection) GetMarket

func (x *Selection) GetMarket() string

func (*Selection) GetOdds

func (x *Selection) GetOdds() float64

func (*Selection) ProtoMessage

func (*Selection) ProtoMessage()

func (*Selection) ProtoReflect

func (x *Selection) ProtoReflect() protoreflect.Message

func (*Selection) Reset

func (x *Selection) Reset()

func (*Selection) String

func (x *Selection) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL