Documentation ¶
Index ¶
- Variables
- type LotteryDuration
- func (*LotteryDuration) Descriptor() ([]byte, []int)deprecated
- func (x *LotteryDuration) GetEnd() *timestamppb.Timestamp
- func (x *LotteryDuration) GetStart() *timestamppb.Timestamp
- func (*LotteryDuration) ProtoMessage()
- func (x *LotteryDuration) ProtoReflect() protoreflect.Message
- func (x *LotteryDuration) Reset()
- func (x *LotteryDuration) String() string
- type LotteryRates
- func (*LotteryRates) Descriptor() ([]byte, []int)deprecated
- func (x *LotteryRates) GetRates() []*LotteryRates_AwardRate
- func (x *LotteryRates) GetTotal() uint32
- func (*LotteryRates) ProtoMessage()
- func (x *LotteryRates) ProtoReflect() protoreflect.Message
- func (x *LotteryRates) Reset()
- func (x *LotteryRates) String() string
- type LotteryRatesValue
- func (LotteryRatesValue) Descriptor() protoreflect.EnumDescriptor
- func (x LotteryRatesValue) Enum() *LotteryRatesValue
- func (LotteryRatesValue) EnumDescriptor() ([]byte, []int)deprecated
- func (x LotteryRatesValue) Number() protoreflect.EnumNumber
- func (x LotteryRatesValue) String() string
- func (LotteryRatesValue) Type() protoreflect.EnumType
- type LotteryRates_AwardRate
- func (*LotteryRates_AwardRate) Descriptor() ([]byte, []int)deprecated
- func (x *LotteryRates_AwardRate) GetId() uint64
- func (x *LotteryRates_AwardRate) GetRate() uint32
- func (x *LotteryRates_AwardRate) GetValue() LotteryRatesValue
- func (*LotteryRates_AwardRate) ProtoMessage()
- func (x *LotteryRates_AwardRate) ProtoReflect() protoreflect.Message
- func (x *LotteryRates_AwardRate) Reset()
- func (x *LotteryRates_AwardRate) String() string
- type LotteryTimes
- func (*LotteryTimes) Descriptor() ([]byte, []int)deprecated
- func (x *LotteryTimes) GetPermanent() uint32
- func (x *LotteryTimes) GetTemporary() uint32
- func (*LotteryTimes) ProtoMessage()
- func (x *LotteryTimes) ProtoReflect() protoreflect.Message
- func (x *LotteryTimes) Reset()
- func (x *LotteryTimes) String() string
- type UserTimes
- func (*UserTimes) Descriptor() ([]byte, []int)deprecated
- func (x *UserTimes) GetPermanent() uint32
- func (x *UserTimes) GetTemporary() uint32
- func (x *UserTimes) GetUpdate() *timestamppb.Timestamp
- func (*UserTimes) ProtoMessage()
- func (x *UserTimes) ProtoReflect() protoreflect.Message
- func (x *UserTimes) Reset()
- func (x *UserTimes) String() string
- type WinningInfo
- func (*WinningInfo) Descriptor() ([]byte, []int)deprecated
- func (x *WinningInfo) GetAward() uint64
- func (x *WinningInfo) GetLottery() uint64
- func (x *WinningInfo) GetUser() uint64
- func (*WinningInfo) ProtoMessage()
- func (x *WinningInfo) ProtoReflect() protoreflect.Message
- func (x *WinningInfo) Reset()
- func (x *WinningInfo) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LotteryRatesValue_name = map[int32]string{ 0: "LOW_VAL", 1: "HIGH_VAL", } LotteryRatesValue_value = map[string]int32{ "LOW_VAL": 0, "HIGH_VAL": 1, } )
Enum value maps for LotteryRatesValue.
View Source
var File_proto_lottery_info_proto protoreflect.FileDescriptor
View Source
var File_proto_times_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type LotteryDuration ¶
type LotteryDuration struct { Start *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` End *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
func (*LotteryDuration) Descriptor
deprecated
func (*LotteryDuration) Descriptor() ([]byte, []int)
Deprecated: Use LotteryDuration.ProtoReflect.Descriptor instead.
func (*LotteryDuration) GetEnd ¶
func (x *LotteryDuration) GetEnd() *timestamppb.Timestamp
func (*LotteryDuration) GetStart ¶
func (x *LotteryDuration) GetStart() *timestamppb.Timestamp
func (*LotteryDuration) ProtoMessage ¶
func (*LotteryDuration) ProtoMessage()
func (*LotteryDuration) ProtoReflect ¶
func (x *LotteryDuration) ProtoReflect() protoreflect.Message
func (*LotteryDuration) Reset ¶
func (x *LotteryDuration) Reset()
func (*LotteryDuration) String ¶
func (x *LotteryDuration) String() string
type LotteryRates ¶
type LotteryRates struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Rates []*LotteryRates_AwardRate `protobuf:"bytes,2,rep,name=rates,proto3" json:"rates,omitempty"` // contains filtered or unexported fields }
func (*LotteryRates) Descriptor
deprecated
func (*LotteryRates) Descriptor() ([]byte, []int)
Deprecated: Use LotteryRates.ProtoReflect.Descriptor instead.
func (*LotteryRates) GetRates ¶
func (x *LotteryRates) GetRates() []*LotteryRates_AwardRate
func (*LotteryRates) GetTotal ¶
func (x *LotteryRates) GetTotal() uint32
func (*LotteryRates) ProtoMessage ¶
func (*LotteryRates) ProtoMessage()
func (*LotteryRates) ProtoReflect ¶
func (x *LotteryRates) ProtoReflect() protoreflect.Message
func (*LotteryRates) Reset ¶
func (x *LotteryRates) Reset()
func (*LotteryRates) String ¶
func (x *LotteryRates) String() string
type LotteryRatesValue ¶
type LotteryRatesValue int32
const ( LotteryRates_LOW_VAL LotteryRatesValue = 0 LotteryRates_HIGH_VAL LotteryRatesValue = 1 )
func (LotteryRatesValue) Descriptor ¶
func (LotteryRatesValue) Descriptor() protoreflect.EnumDescriptor
func (LotteryRatesValue) Enum ¶
func (x LotteryRatesValue) Enum() *LotteryRatesValue
func (LotteryRatesValue) EnumDescriptor
deprecated
func (LotteryRatesValue) EnumDescriptor() ([]byte, []int)
Deprecated: Use LotteryRatesValue.Descriptor instead.
func (LotteryRatesValue) Number ¶
func (x LotteryRatesValue) Number() protoreflect.EnumNumber
func (LotteryRatesValue) String ¶
func (x LotteryRatesValue) String() string
func (LotteryRatesValue) Type ¶
func (LotteryRatesValue) Type() protoreflect.EnumType
type LotteryRates_AwardRate ¶
type LotteryRates_AwardRate struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Rate uint32 `protobuf:"varint,2,opt,name=rate,proto3" json:"rate,omitempty"` Value LotteryRatesValue `protobuf:"varint,3,opt,name=value,proto3,enum=lottery.LotteryRatesValue" json:"value,omitempty"` // contains filtered or unexported fields }
func (*LotteryRates_AwardRate) Descriptor
deprecated
func (*LotteryRates_AwardRate) Descriptor() ([]byte, []int)
Deprecated: Use LotteryRates_AwardRate.ProtoReflect.Descriptor instead.
func (*LotteryRates_AwardRate) GetId ¶
func (x *LotteryRates_AwardRate) GetId() uint64
func (*LotteryRates_AwardRate) GetRate ¶
func (x *LotteryRates_AwardRate) GetRate() uint32
func (*LotteryRates_AwardRate) GetValue ¶
func (x *LotteryRates_AwardRate) GetValue() LotteryRatesValue
func (*LotteryRates_AwardRate) ProtoMessage ¶
func (*LotteryRates_AwardRate) ProtoMessage()
func (*LotteryRates_AwardRate) ProtoReflect ¶
func (x *LotteryRates_AwardRate) ProtoReflect() protoreflect.Message
func (*LotteryRates_AwardRate) Reset ¶
func (x *LotteryRates_AwardRate) Reset()
func (*LotteryRates_AwardRate) String ¶
func (x *LotteryRates_AwardRate) String() string
type LotteryTimes ¶
type LotteryTimes struct { Permanent uint32 `protobuf:"varint,1,opt,name=permanent,proto3" json:"permanent,omitempty"` Temporary uint32 `protobuf:"varint,2,opt,name=temporary,proto3" json:"temporary,omitempty"` // contains filtered or unexported fields }
func (*LotteryTimes) Descriptor
deprecated
func (*LotteryTimes) Descriptor() ([]byte, []int)
Deprecated: Use LotteryTimes.ProtoReflect.Descriptor instead.
func (*LotteryTimes) GetPermanent ¶
func (x *LotteryTimes) GetPermanent() uint32
func (*LotteryTimes) GetTemporary ¶
func (x *LotteryTimes) GetTemporary() uint32
func (*LotteryTimes) ProtoMessage ¶
func (*LotteryTimes) ProtoMessage()
func (*LotteryTimes) ProtoReflect ¶
func (x *LotteryTimes) ProtoReflect() protoreflect.Message
func (*LotteryTimes) Reset ¶
func (x *LotteryTimes) Reset()
func (*LotteryTimes) String ¶
func (x *LotteryTimes) String() string
type UserTimes ¶
type UserTimes struct { Permanent uint32 `protobuf:"varint,1,opt,name=permanent,proto3" json:"permanent,omitempty"` Temporary uint32 `protobuf:"varint,2,opt,name=temporary,proto3" json:"temporary,omitempty"` Update *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update,proto3" json:"update,omitempty"` // contains filtered or unexported fields }
func (*UserTimes) Descriptor
deprecated
func (*UserTimes) GetPermanent ¶
func (*UserTimes) GetTemporary ¶
func (*UserTimes) GetUpdate ¶
func (x *UserTimes) GetUpdate() *timestamppb.Timestamp
func (*UserTimes) ProtoMessage ¶
func (*UserTimes) ProtoMessage()
func (*UserTimes) ProtoReflect ¶
func (x *UserTimes) ProtoReflect() protoreflect.Message
type WinningInfo ¶
type WinningInfo struct { User uint64 `protobuf:"varint,1,opt,name=user,proto3" json:"user,omitempty"` Lottery uint64 `protobuf:"varint,2,opt,name=lottery,proto3" json:"lottery,omitempty"` Award uint64 `protobuf:"varint,3,opt,name=award,proto3" json:"award,omitempty"` // contains filtered or unexported fields }
func (*WinningInfo) Descriptor
deprecated
func (*WinningInfo) Descriptor() ([]byte, []int)
Deprecated: Use WinningInfo.ProtoReflect.Descriptor instead.
func (*WinningInfo) GetAward ¶
func (x *WinningInfo) GetAward() uint64
func (*WinningInfo) GetLottery ¶
func (x *WinningInfo) GetLottery() uint64
func (*WinningInfo) GetUser ¶
func (x *WinningInfo) GetUser() uint64
func (*WinningInfo) ProtoMessage ¶
func (*WinningInfo) ProtoMessage()
func (*WinningInfo) ProtoReflect ¶
func (x *WinningInfo) ProtoReflect() protoreflect.Message
func (*WinningInfo) Reset ¶
func (x *WinningInfo) Reset()
func (*WinningInfo) String ¶
func (x *WinningInfo) String() string
Click to show internal directories.
Click to hide internal directories.