Documentation ¶
Index ¶
- Variables
- type Bet
- func (*Bet) Descriptor() ([]byte, []int)deprecated
- func (x *Bet) GetCentipoints() uint64
- func (x *Bet) GetCreatedAt() *timestamppb.Timestamp
- func (x *Bet) GetMarket() string
- func (x *Bet) GetName() string
- func (x *Bet) GetOutcome() string
- func (x *Bet) GetSettledAt() *timestamppb.Timestamp
- func (x *Bet) GetSettledCentipoints() uint64
- func (m *Bet) GetType() isBet_Type
- func (x *Bet) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Bet) GetUser() string
- func (*Bet) ProtoMessage()
- func (x *Bet) ProtoReflect() protoreflect.Message
- func (x *Bet) Reset()
- func (x *Bet) String() string
- func (m *Bet) Validate() error
- func (m *Bet) ValidateAll() error
- type BetMultiError
- type BetValidationError
- type Bet_Outcome
- type CancelMarketRequest
- func (*CancelMarketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelMarketRequest) GetName() string
- func (*CancelMarketRequest) ProtoMessage()
- func (x *CancelMarketRequest) ProtoReflect() protoreflect.Message
- func (x *CancelMarketRequest) Reset()
- func (x *CancelMarketRequest) String() string
- func (m *CancelMarketRequest) Validate() error
- func (m *CancelMarketRequest) ValidateAll() error
- type CancelMarketRequestMultiError
- type CancelMarketRequestValidationError
- func (e CancelMarketRequestValidationError) Cause() error
- func (e CancelMarketRequestValidationError) Error() string
- func (e CancelMarketRequestValidationError) ErrorName() string
- func (e CancelMarketRequestValidationError) Field() string
- func (e CancelMarketRequestValidationError) Key() bool
- func (e CancelMarketRequestValidationError) Reason() string
- type CancelMarketResponse
- func (*CancelMarketResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CancelMarketResponse) GetMarket() *Market
- func (*CancelMarketResponse) ProtoMessage()
- func (x *CancelMarketResponse) ProtoReflect() protoreflect.Message
- func (x *CancelMarketResponse) Reset()
- func (x *CancelMarketResponse) String() string
- func (m *CancelMarketResponse) Validate() error
- func (m *CancelMarketResponse) ValidateAll() error
- type CancelMarketResponseMultiError
- type CancelMarketResponseValidationError
- func (e CancelMarketResponseValidationError) Cause() error
- func (e CancelMarketResponseValidationError) Error() string
- func (e CancelMarketResponseValidationError) ErrorName() string
- func (e CancelMarketResponseValidationError) Field() string
- func (e CancelMarketResponseValidationError) Key() bool
- func (e CancelMarketResponseValidationError) Reason() string
- type CreateBetRequest
- func (*CreateBetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBetRequest) GetBet() *Bet
- func (x *CreateBetRequest) GetBook() string
- func (*CreateBetRequest) ProtoMessage()
- func (x *CreateBetRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBetRequest) Reset()
- func (x *CreateBetRequest) String() string
- func (m *CreateBetRequest) Validate() error
- func (m *CreateBetRequest) ValidateAll() error
- type CreateBetRequestMultiError
- type CreateBetRequestValidationError
- func (e CreateBetRequestValidationError) Cause() error
- func (e CreateBetRequestValidationError) Error() string
- func (e CreateBetRequestValidationError) ErrorName() string
- func (e CreateBetRequestValidationError) Field() string
- func (e CreateBetRequestValidationError) Key() bool
- func (e CreateBetRequestValidationError) Reason() string
- type CreateBetResponse
- func (*CreateBetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBetResponse) GetBet() *Bet
- func (*CreateBetResponse) ProtoMessage()
- func (x *CreateBetResponse) ProtoReflect() protoreflect.Message
- func (x *CreateBetResponse) Reset()
- func (x *CreateBetResponse) String() string
- func (m *CreateBetResponse) Validate() error
- func (m *CreateBetResponse) ValidateAll() error
- type CreateBetResponseMultiError
- type CreateBetResponseValidationError
- func (e CreateBetResponseValidationError) Cause() error
- func (e CreateBetResponseValidationError) Error() string
- func (e CreateBetResponseValidationError) ErrorName() string
- func (e CreateBetResponseValidationError) Field() string
- func (e CreateBetResponseValidationError) Key() bool
- func (e CreateBetResponseValidationError) Reason() string
- type CreateMarketRequest
- func (*CreateMarketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMarketRequest) GetBook() string
- func (x *CreateMarketRequest) GetMarket() *Market
- func (*CreateMarketRequest) ProtoMessage()
- func (x *CreateMarketRequest) ProtoReflect() protoreflect.Message
- func (x *CreateMarketRequest) Reset()
- func (x *CreateMarketRequest) String() string
- func (m *CreateMarketRequest) Validate() error
- func (m *CreateMarketRequest) ValidateAll() error
- type CreateMarketRequestMultiError
- type CreateMarketRequestValidationError
- func (e CreateMarketRequestValidationError) Cause() error
- func (e CreateMarketRequestValidationError) Error() string
- func (e CreateMarketRequestValidationError) ErrorName() string
- func (e CreateMarketRequestValidationError) Field() string
- func (e CreateMarketRequestValidationError) Key() bool
- func (e CreateMarketRequestValidationError) Reason() string
- type CreateMarketResponse
- func (*CreateMarketResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMarketResponse) GetMarket() *Market
- func (*CreateMarketResponse) ProtoMessage()
- func (x *CreateMarketResponse) ProtoReflect() protoreflect.Message
- func (x *CreateMarketResponse) Reset()
- func (x *CreateMarketResponse) String() string
- func (m *CreateMarketResponse) Validate() error
- func (m *CreateMarketResponse) ValidateAll() error
- type CreateMarketResponseMultiError
- type CreateMarketResponseValidationError
- func (e CreateMarketResponseValidationError) Cause() error
- func (e CreateMarketResponseValidationError) Error() string
- func (e CreateMarketResponseValidationError) ErrorName() string
- func (e CreateMarketResponseValidationError) Field() string
- func (e CreateMarketResponseValidationError) Key() bool
- func (e CreateMarketResponseValidationError) Reason() string
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetBook() string
- func (x *CreateUserRequest) GetUser() *User
- func (*CreateUserRequest) ProtoMessage()
- func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserRequest) Reset()
- func (x *CreateUserRequest) String() string
- func (m *CreateUserRequest) Validate() error
- func (m *CreateUserRequest) ValidateAll() error
- type CreateUserRequestMultiError
- type CreateUserRequestValidationError
- func (e CreateUserRequestValidationError) Cause() error
- func (e CreateUserRequestValidationError) Error() string
- func (e CreateUserRequestValidationError) ErrorName() string
- func (e CreateUserRequestValidationError) Field() string
- func (e CreateUserRequestValidationError) Key() bool
- func (e CreateUserRequestValidationError) Reason() string
- type CreateUserResponse
- func (*CreateUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserResponse) GetUser() *User
- func (*CreateUserResponse) ProtoMessage()
- func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
- func (x *CreateUserResponse) Reset()
- func (x *CreateUserResponse) String() string
- func (m *CreateUserResponse) Validate() error
- func (m *CreateUserResponse) ValidateAll() error
- type CreateUserResponseMultiError
- type CreateUserResponseValidationError
- func (e CreateUserResponseValidationError) Cause() error
- func (e CreateUserResponseValidationError) Error() string
- func (e CreateUserResponseValidationError) ErrorName() string
- func (e CreateUserResponseValidationError) Field() string
- func (e CreateUserResponseValidationError) Key() bool
- func (e CreateUserResponseValidationError) Reason() string
- type GetBetRequest
- func (*GetBetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBetRequest) GetBet() string
- func (*GetBetRequest) ProtoMessage()
- func (x *GetBetRequest) ProtoReflect() protoreflect.Message
- func (x *GetBetRequest) Reset()
- func (x *GetBetRequest) String() string
- func (m *GetBetRequest) Validate() error
- func (m *GetBetRequest) ValidateAll() error
- type GetBetRequestMultiError
- type GetBetRequestValidationError
- func (e GetBetRequestValidationError) Cause() error
- func (e GetBetRequestValidationError) Error() string
- func (e GetBetRequestValidationError) ErrorName() string
- func (e GetBetRequestValidationError) Field() string
- func (e GetBetRequestValidationError) Key() bool
- func (e GetBetRequestValidationError) Reason() string
- type GetBetResponse
- func (*GetBetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBetResponse) GetBet() *Bet
- func (*GetBetResponse) ProtoMessage()
- func (x *GetBetResponse) ProtoReflect() protoreflect.Message
- func (x *GetBetResponse) Reset()
- func (x *GetBetResponse) String() string
- func (m *GetBetResponse) Validate() error
- func (m *GetBetResponse) ValidateAll() error
- type GetBetResponseMultiError
- type GetBetResponseValidationError
- func (e GetBetResponseValidationError) Cause() error
- func (e GetBetResponseValidationError) Error() string
- func (e GetBetResponseValidationError) ErrorName() string
- func (e GetBetResponseValidationError) Field() string
- func (e GetBetResponseValidationError) Key() bool
- func (e GetBetResponseValidationError) Reason() string
- type GetMarketRequest
- func (*GetMarketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMarketRequest) GetName() string
- func (*GetMarketRequest) ProtoMessage()
- func (x *GetMarketRequest) ProtoReflect() protoreflect.Message
- func (x *GetMarketRequest) Reset()
- func (x *GetMarketRequest) String() string
- func (m *GetMarketRequest) Validate() error
- func (m *GetMarketRequest) ValidateAll() error
- type GetMarketRequestMultiError
- type GetMarketRequestValidationError
- func (e GetMarketRequestValidationError) Cause() error
- func (e GetMarketRequestValidationError) Error() string
- func (e GetMarketRequestValidationError) ErrorName() string
- func (e GetMarketRequestValidationError) Field() string
- func (e GetMarketRequestValidationError) Key() bool
- func (e GetMarketRequestValidationError) Reason() string
- type GetMarketResponse
- func (*GetMarketResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMarketResponse) GetMarket() *Market
- func (*GetMarketResponse) ProtoMessage()
- func (x *GetMarketResponse) ProtoReflect() protoreflect.Message
- func (x *GetMarketResponse) Reset()
- func (x *GetMarketResponse) String() string
- func (m *GetMarketResponse) Validate() error
- func (m *GetMarketResponse) ValidateAll() error
- type GetMarketResponseMultiError
- type GetMarketResponseValidationError
- func (e GetMarketResponseValidationError) Cause() error
- func (e GetMarketResponseValidationError) Error() string
- func (e GetMarketResponseValidationError) ErrorName() string
- func (e GetMarketResponseValidationError) Field() string
- func (e GetMarketResponseValidationError) Key() bool
- func (e GetMarketResponseValidationError) Reason() string
- type GetUserByUsernameRequest
- func (*GetUserByUsernameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserByUsernameRequest) GetBook() string
- func (x *GetUserByUsernameRequest) GetUsername() string
- func (*GetUserByUsernameRequest) ProtoMessage()
- func (x *GetUserByUsernameRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserByUsernameRequest) Reset()
- func (x *GetUserByUsernameRequest) String() string
- func (m *GetUserByUsernameRequest) Validate() error
- func (m *GetUserByUsernameRequest) ValidateAll() error
- type GetUserByUsernameRequestMultiError
- type GetUserByUsernameRequestValidationError
- func (e GetUserByUsernameRequestValidationError) Cause() error
- func (e GetUserByUsernameRequestValidationError) Error() string
- func (e GetUserByUsernameRequestValidationError) ErrorName() string
- func (e GetUserByUsernameRequestValidationError) Field() string
- func (e GetUserByUsernameRequestValidationError) Key() bool
- func (e GetUserByUsernameRequestValidationError) Reason() string
- type GetUserByUsernameResponse
- func (*GetUserByUsernameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserByUsernameResponse) GetUser() *User
- func (*GetUserByUsernameResponse) ProtoMessage()
- func (x *GetUserByUsernameResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserByUsernameResponse) Reset()
- func (x *GetUserByUsernameResponse) String() string
- func (m *GetUserByUsernameResponse) Validate() error
- func (m *GetUserByUsernameResponse) ValidateAll() error
- type GetUserByUsernameResponseMultiError
- type GetUserByUsernameResponseValidationError
- func (e GetUserByUsernameResponseValidationError) Cause() error
- func (e GetUserByUsernameResponseValidationError) Error() string
- func (e GetUserByUsernameResponseValidationError) ErrorName() string
- func (e GetUserByUsernameResponseValidationError) Field() string
- func (e GetUserByUsernameResponseValidationError) Key() bool
- func (e GetUserByUsernameResponseValidationError) Reason() string
- type GetUserRequest
- func (*GetUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserRequest) GetName() string
- func (*GetUserRequest) ProtoMessage()
- func (x *GetUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserRequest) Reset()
- func (x *GetUserRequest) String() string
- func (m *GetUserRequest) Validate() error
- func (m *GetUserRequest) ValidateAll() error
- type GetUserRequestMultiError
- type GetUserRequestValidationError
- func (e GetUserRequestValidationError) Cause() error
- func (e GetUserRequestValidationError) Error() string
- func (e GetUserRequestValidationError) ErrorName() string
- func (e GetUserRequestValidationError) Field() string
- func (e GetUserRequestValidationError) Key() bool
- func (e GetUserRequestValidationError) Reason() string
- type GetUserResponse
- func (*GetUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserResponse) GetUser() *User
- func (*GetUserResponse) ProtoMessage()
- func (x *GetUserResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserResponse) Reset()
- func (x *GetUserResponse) String() string
- func (m *GetUserResponse) Validate() error
- func (m *GetUserResponse) ValidateAll() error
- type GetUserResponseMultiError
- type GetUserResponseValidationError
- func (e GetUserResponseValidationError) Cause() error
- func (e GetUserResponseValidationError) Error() string
- func (e GetUserResponseValidationError) ErrorName() string
- func (e GetUserResponseValidationError) Field() string
- func (e GetUserResponseValidationError) Key() bool
- func (e GetUserResponseValidationError) Reason() string
- type ListBetsRequest
- func (*ListBetsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBetsRequest) GetBook() string
- func (x *ListBetsRequest) GetExcludeSettled() bool
- func (x *ListBetsRequest) GetMarket() string
- func (x *ListBetsRequest) GetPageSize() int32
- func (x *ListBetsRequest) GetPageToken() string
- func (x *ListBetsRequest) GetUser() string
- func (*ListBetsRequest) ProtoMessage()
- func (x *ListBetsRequest) ProtoReflect() protoreflect.Message
- func (x *ListBetsRequest) Reset()
- func (x *ListBetsRequest) String() string
- func (m *ListBetsRequest) Validate() error
- func (m *ListBetsRequest) ValidateAll() error
- type ListBetsRequestMultiError
- type ListBetsRequestValidationError
- func (e ListBetsRequestValidationError) Cause() error
- func (e ListBetsRequestValidationError) Error() string
- func (e ListBetsRequestValidationError) ErrorName() string
- func (e ListBetsRequestValidationError) Field() string
- func (e ListBetsRequestValidationError) Key() bool
- func (e ListBetsRequestValidationError) Reason() string
- type ListBetsResponse
- func (*ListBetsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBetsResponse) GetBets() []*Bet
- func (x *ListBetsResponse) GetNextPageToken() string
- func (*ListBetsResponse) ProtoMessage()
- func (x *ListBetsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBetsResponse) Reset()
- func (x *ListBetsResponse) String() string
- func (m *ListBetsResponse) Validate() error
- func (m *ListBetsResponse) ValidateAll() error
- type ListBetsResponseMultiError
- type ListBetsResponseValidationError
- func (e ListBetsResponseValidationError) Cause() error
- func (e ListBetsResponseValidationError) Error() string
- func (e ListBetsResponseValidationError) ErrorName() string
- func (e ListBetsResponseValidationError) Field() string
- func (e ListBetsResponseValidationError) Key() bool
- func (e ListBetsResponseValidationError) Reason() string
- type ListMarketsRequest
- func (*ListMarketsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMarketsRequest) GetBook() string
- func (x *ListMarketsRequest) GetPageSize() int32
- func (x *ListMarketsRequest) GetPageToken() string
- func (x *ListMarketsRequest) GetStatus() Market_Status
- func (*ListMarketsRequest) ProtoMessage()
- func (x *ListMarketsRequest) ProtoReflect() protoreflect.Message
- func (x *ListMarketsRequest) Reset()
- func (x *ListMarketsRequest) String() string
- func (m *ListMarketsRequest) Validate() error
- func (m *ListMarketsRequest) ValidateAll() error
- type ListMarketsRequestMultiError
- type ListMarketsRequestValidationError
- func (e ListMarketsRequestValidationError) Cause() error
- func (e ListMarketsRequestValidationError) Error() string
- func (e ListMarketsRequestValidationError) ErrorName() string
- func (e ListMarketsRequestValidationError) Field() string
- func (e ListMarketsRequestValidationError) Key() bool
- func (e ListMarketsRequestValidationError) Reason() string
- type ListMarketsResponse
- func (*ListMarketsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMarketsResponse) GetMarkets() []*Market
- func (x *ListMarketsResponse) GetNextPageToken() string
- func (*ListMarketsResponse) ProtoMessage()
- func (x *ListMarketsResponse) ProtoReflect() protoreflect.Message
- func (x *ListMarketsResponse) Reset()
- func (x *ListMarketsResponse) String() string
- func (m *ListMarketsResponse) Validate() error
- func (m *ListMarketsResponse) ValidateAll() error
- type ListMarketsResponseMultiError
- type ListMarketsResponseValidationError
- func (e ListMarketsResponseValidationError) Cause() error
- func (e ListMarketsResponseValidationError) Error() string
- func (e ListMarketsResponseValidationError) ErrorName() string
- func (e ListMarketsResponseValidationError) Field() string
- func (e ListMarketsResponseValidationError) Key() bool
- func (e ListMarketsResponseValidationError) Reason() string
- type ListUsersRequest
- func (*ListUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersRequest) GetBook() string
- func (x *ListUsersRequest) GetOrderBy() string
- func (x *ListUsersRequest) GetPageSize() int32
- func (x *ListUsersRequest) GetPageToken() string
- func (x *ListUsersRequest) GetUsers() []string
- func (*ListUsersRequest) ProtoMessage()
- func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
- func (x *ListUsersRequest) Reset()
- func (x *ListUsersRequest) String() string
- func (m *ListUsersRequest) Validate() error
- func (m *ListUsersRequest) ValidateAll() error
- type ListUsersRequestMultiError
- type ListUsersRequestValidationError
- func (e ListUsersRequestValidationError) Cause() error
- func (e ListUsersRequestValidationError) Error() string
- func (e ListUsersRequestValidationError) ErrorName() string
- func (e ListUsersRequestValidationError) Field() string
- func (e ListUsersRequestValidationError) Key() bool
- func (e ListUsersRequestValidationError) Reason() string
- type ListUsersResponse
- func (*ListUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersResponse) GetNextPageToken() string
- func (x *ListUsersResponse) GetUsers() []*User
- func (*ListUsersResponse) ProtoMessage()
- func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
- func (x *ListUsersResponse) Reset()
- func (x *ListUsersResponse) String() string
- func (m *ListUsersResponse) Validate() error
- func (m *ListUsersResponse) ValidateAll() error
- type ListUsersResponseMultiError
- type ListUsersResponseValidationError
- func (e ListUsersResponseValidationError) Cause() error
- func (e ListUsersResponseValidationError) Error() string
- func (e ListUsersResponseValidationError) ErrorName() string
- func (e ListUsersResponseValidationError) Field() string
- func (e ListUsersResponseValidationError) Key() bool
- func (e ListUsersResponseValidationError) Reason() string
- type LockMarketRequest
- func (*LockMarketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LockMarketRequest) GetName() string
- func (*LockMarketRequest) ProtoMessage()
- func (x *LockMarketRequest) ProtoReflect() protoreflect.Message
- func (x *LockMarketRequest) Reset()
- func (x *LockMarketRequest) String() string
- func (m *LockMarketRequest) Validate() error
- func (m *LockMarketRequest) ValidateAll() error
- type LockMarketRequestMultiError
- type LockMarketRequestValidationError
- func (e LockMarketRequestValidationError) Cause() error
- func (e LockMarketRequestValidationError) Error() string
- func (e LockMarketRequestValidationError) ErrorName() string
- func (e LockMarketRequestValidationError) Field() string
- func (e LockMarketRequestValidationError) Key() bool
- func (e LockMarketRequestValidationError) Reason() string
- type LockMarketResponse
- func (*LockMarketResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LockMarketResponse) GetMarket() *Market
- func (*LockMarketResponse) ProtoMessage()
- func (x *LockMarketResponse) ProtoReflect() protoreflect.Message
- func (x *LockMarketResponse) Reset()
- func (x *LockMarketResponse) String() string
- func (m *LockMarketResponse) Validate() error
- func (m *LockMarketResponse) ValidateAll() error
- type LockMarketResponseMultiError
- type LockMarketResponseValidationError
- func (e LockMarketResponseValidationError) Cause() error
- func (e LockMarketResponseValidationError) Error() string
- func (e LockMarketResponseValidationError) ErrorName() string
- func (e LockMarketResponseValidationError) Field() string
- func (e LockMarketResponseValidationError) Key() bool
- func (e LockMarketResponseValidationError) Reason() string
- type Market
- func (*Market) Descriptor() ([]byte, []int)deprecated
- func (x *Market) GetCreatedAt() *timestamppb.Timestamp
- func (x *Market) GetCreator() string
- func (x *Market) GetName() string
- func (x *Market) GetPool() *Pool
- func (x *Market) GetSettledAt() *timestamppb.Timestamp
- func (x *Market) GetStatus() Market_Status
- func (x *Market) GetTitle() string
- func (m *Market) GetType() isMarket_Type
- func (x *Market) GetUpdatedAt() *timestamppb.Timestamp
- func (*Market) ProtoMessage()
- func (x *Market) ProtoReflect() protoreflect.Message
- func (x *Market) Reset()
- func (x *Market) String() string
- func (m *Market) Validate() error
- func (m *Market) ValidateAll() error
- type MarketMultiError
- type MarketValidationError
- type Market_Pool
- type Market_Status
- func (Market_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Market_Status) Enum() *Market_Status
- func (Market_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Market_Status) Number() protoreflect.EnumNumber
- func (x Market_Status) String() string
- func (Market_Status) Type() protoreflect.EnumType
- type Outcome
- func (*Outcome) Descriptor() ([]byte, []int)deprecated
- func (x *Outcome) GetCentipoints() uint64
- func (x *Outcome) GetName() string
- func (x *Outcome) GetTitle() string
- func (*Outcome) ProtoMessage()
- func (x *Outcome) ProtoReflect() protoreflect.Message
- func (x *Outcome) Reset()
- func (x *Outcome) String() string
- func (m *Outcome) Validate() error
- func (m *Outcome) ValidateAll() error
- type OutcomeMultiError
- type OutcomeValidationError
- type Pool
- func (*Pool) Descriptor() ([]byte, []int)deprecated
- func (x *Pool) GetOutcomes() []*Outcome
- func (x *Pool) GetWinner() string
- func (*Pool) ProtoMessage()
- func (x *Pool) ProtoReflect() protoreflect.Message
- func (x *Pool) Reset()
- func (x *Pool) String() string
- func (m *Pool) Validate() error
- func (m *Pool) ValidateAll() error
- type PoolMultiError
- type PoolValidationError
- type SettleMarketRequest
- func (*SettleMarketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SettleMarketRequest) GetName() string
- func (m *SettleMarketRequest) GetType() isSettleMarketRequest_Type
- func (x *SettleMarketRequest) GetWinner() string
- func (*SettleMarketRequest) ProtoMessage()
- func (x *SettleMarketRequest) ProtoReflect() protoreflect.Message
- func (x *SettleMarketRequest) Reset()
- func (x *SettleMarketRequest) String() string
- func (m *SettleMarketRequest) Validate() error
- func (m *SettleMarketRequest) ValidateAll() error
- type SettleMarketRequestMultiError
- type SettleMarketRequestValidationError
- func (e SettleMarketRequestValidationError) Cause() error
- func (e SettleMarketRequestValidationError) Error() string
- func (e SettleMarketRequestValidationError) ErrorName() string
- func (e SettleMarketRequestValidationError) Field() string
- func (e SettleMarketRequestValidationError) Key() bool
- func (e SettleMarketRequestValidationError) Reason() string
- type SettleMarketRequest_Winner
- type SettleMarketResponse
- func (*SettleMarketResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SettleMarketResponse) GetMarket() *Market
- func (*SettleMarketResponse) ProtoMessage()
- func (x *SettleMarketResponse) ProtoReflect() protoreflect.Message
- func (x *SettleMarketResponse) Reset()
- func (x *SettleMarketResponse) String() string
- func (m *SettleMarketResponse) Validate() error
- func (m *SettleMarketResponse) ValidateAll() error
- type SettleMarketResponseMultiError
- type SettleMarketResponseValidationError
- func (e SettleMarketResponseValidationError) Cause() error
- func (e SettleMarketResponseValidationError) Error() string
- func (e SettleMarketResponseValidationError) ErrorName() string
- func (e SettleMarketResponseValidationError) Field() string
- func (e SettleMarketResponseValidationError) Key() bool
- func (e SettleMarketResponseValidationError) Reason() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetCentipoints() uint64
- func (x *User) GetCreatedAt() *timestamppb.Timestamp
- func (x *User) GetName() string
- func (x *User) GetUnsettledCentipoints() uint64
- func (x *User) GetUpdatedAt() *timestamppb.Timestamp
- func (x *User) GetUsername() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- func (m *User) Validate() error
- func (m *User) ValidateAll() error
- type UserMultiError
- type UserValidationError
Constants ¶
This section is empty.
Variables ¶
var ( Market_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "STATUS_OPEN", 2: "STATUS_BETS_LOCKED", 3: "STATUS_SETTLED", 4: "STATUS_CANCELED", } Market_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "STATUS_OPEN": 1, "STATUS_BETS_LOCKED": 2, "STATUS_SETTLED": 3, "STATUS_CANCELED": 4, } )
Enum value maps for Market_Status.
var File_bettor_v1alpha_bettor_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Bet ¶
type Bet struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` SettledAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=settled_at,json=settledAt,proto3" json:"settled_at,omitempty"` User string `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` Market string `protobuf:"bytes,6,opt,name=market,proto3" json:"market,omitempty"` Centipoints uint64 `protobuf:"varint,7,opt,name=centipoints,proto3" json:"centipoints,omitempty"` SettledCentipoints uint64 `protobuf:"varint,8,opt,name=settled_centipoints,json=settledCentipoints,proto3" json:"settled_centipoints,omitempty"` // Types that are assignable to Type: // // *Bet_Outcome Type isBet_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
A user's bet on a betting market.
func (*Bet) Descriptor
deprecated
func (*Bet) GetCentipoints ¶
func (*Bet) GetCreatedAt ¶
func (x *Bet) GetCreatedAt() *timestamppb.Timestamp
func (*Bet) GetOutcome ¶
func (*Bet) GetSettledAt ¶
func (x *Bet) GetSettledAt() *timestamppb.Timestamp
func (*Bet) GetSettledCentipoints ¶
func (*Bet) GetUpdatedAt ¶
func (x *Bet) GetUpdatedAt() *timestamppb.Timestamp
func (*Bet) ProtoMessage ¶
func (*Bet) ProtoMessage()
func (*Bet) ProtoReflect ¶
func (x *Bet) ProtoReflect() protoreflect.Message
func (*Bet) Validate ¶
Validate checks the field values on Bet with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Bet) ValidateAll ¶
ValidateAll checks the field values on Bet with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BetMultiError, or nil if none found.
type BetMultiError ¶
type BetMultiError []error
BetMultiError is an error wrapping multiple validation errors returned by Bet.ValidateAll() if the designated constraints aren't met.
func (BetMultiError) AllErrors ¶
func (m BetMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BetMultiError) Error ¶
func (m BetMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BetValidationError ¶
type BetValidationError struct {
// contains filtered or unexported fields
}
BetValidationError is the validation error returned by Bet.Validate if the designated constraints aren't met.
func (BetValidationError) Cause ¶
func (e BetValidationError) Cause() error
Cause function returns cause value.
func (BetValidationError) Error ¶
func (e BetValidationError) Error() string
Error satisfies the builtin error interface
func (BetValidationError) ErrorName ¶
func (e BetValidationError) ErrorName() string
ErrorName returns error name.
func (BetValidationError) Field ¶
func (e BetValidationError) Field() string
Field function returns field value.
func (BetValidationError) Key ¶
func (e BetValidationError) Key() bool
Key function returns key value.
func (BetValidationError) Reason ¶
func (e BetValidationError) Reason() string
Reason function returns reason value.
type Bet_Outcome ¶
type Bet_Outcome struct {
Outcome string `protobuf:"bytes,9,opt,name=outcome,proto3,oneof"`
}
type CancelMarketRequest ¶
type CancelMarketRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CancelMarketRequest) Descriptor
deprecated
func (*CancelMarketRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelMarketRequest.ProtoReflect.Descriptor instead.
func (*CancelMarketRequest) GetName ¶
func (x *CancelMarketRequest) GetName() string
func (*CancelMarketRequest) ProtoMessage ¶
func (*CancelMarketRequest) ProtoMessage()
func (*CancelMarketRequest) ProtoReflect ¶
func (x *CancelMarketRequest) ProtoReflect() protoreflect.Message
func (*CancelMarketRequest) Reset ¶
func (x *CancelMarketRequest) Reset()
func (*CancelMarketRequest) String ¶
func (x *CancelMarketRequest) String() string
func (*CancelMarketRequest) Validate ¶
func (m *CancelMarketRequest) Validate() error
Validate checks the field values on CancelMarketRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CancelMarketRequest) ValidateAll ¶
func (m *CancelMarketRequest) ValidateAll() error
ValidateAll checks the field values on CancelMarketRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CancelMarketRequestMultiError, or nil if none found.
type CancelMarketRequestMultiError ¶
type CancelMarketRequestMultiError []error
CancelMarketRequestMultiError is an error wrapping multiple validation errors returned by CancelMarketRequest.ValidateAll() if the designated constraints aren't met.
func (CancelMarketRequestMultiError) AllErrors ¶
func (m CancelMarketRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CancelMarketRequestMultiError) Error ¶
func (m CancelMarketRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CancelMarketRequestValidationError ¶
type CancelMarketRequestValidationError struct {
// contains filtered or unexported fields
}
CancelMarketRequestValidationError is the validation error returned by CancelMarketRequest.Validate if the designated constraints aren't met.
func (CancelMarketRequestValidationError) Cause ¶
func (e CancelMarketRequestValidationError) Cause() error
Cause function returns cause value.
func (CancelMarketRequestValidationError) Error ¶
func (e CancelMarketRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CancelMarketRequestValidationError) ErrorName ¶
func (e CancelMarketRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CancelMarketRequestValidationError) Field ¶
func (e CancelMarketRequestValidationError) Field() string
Field function returns field value.
func (CancelMarketRequestValidationError) Key ¶
func (e CancelMarketRequestValidationError) Key() bool
Key function returns key value.
func (CancelMarketRequestValidationError) Reason ¶
func (e CancelMarketRequestValidationError) Reason() string
Reason function returns reason value.
type CancelMarketResponse ¶
type CancelMarketResponse struct { Market *Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"` // contains filtered or unexported fields }
func (*CancelMarketResponse) Descriptor
deprecated
func (*CancelMarketResponse) Descriptor() ([]byte, []int)
Deprecated: Use CancelMarketResponse.ProtoReflect.Descriptor instead.
func (*CancelMarketResponse) GetMarket ¶
func (x *CancelMarketResponse) GetMarket() *Market
func (*CancelMarketResponse) ProtoMessage ¶
func (*CancelMarketResponse) ProtoMessage()
func (*CancelMarketResponse) ProtoReflect ¶
func (x *CancelMarketResponse) ProtoReflect() protoreflect.Message
func (*CancelMarketResponse) Reset ¶
func (x *CancelMarketResponse) Reset()
func (*CancelMarketResponse) String ¶
func (x *CancelMarketResponse) String() string
func (*CancelMarketResponse) Validate ¶
func (m *CancelMarketResponse) Validate() error
Validate checks the field values on CancelMarketResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CancelMarketResponse) ValidateAll ¶
func (m *CancelMarketResponse) ValidateAll() error
ValidateAll checks the field values on CancelMarketResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CancelMarketResponseMultiError, or nil if none found.
type CancelMarketResponseMultiError ¶
type CancelMarketResponseMultiError []error
CancelMarketResponseMultiError is an error wrapping multiple validation errors returned by CancelMarketResponse.ValidateAll() if the designated constraints aren't met.
func (CancelMarketResponseMultiError) AllErrors ¶
func (m CancelMarketResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CancelMarketResponseMultiError) Error ¶
func (m CancelMarketResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CancelMarketResponseValidationError ¶
type CancelMarketResponseValidationError struct {
// contains filtered or unexported fields
}
CancelMarketResponseValidationError is the validation error returned by CancelMarketResponse.Validate if the designated constraints aren't met.
func (CancelMarketResponseValidationError) Cause ¶
func (e CancelMarketResponseValidationError) Cause() error
Cause function returns cause value.
func (CancelMarketResponseValidationError) Error ¶
func (e CancelMarketResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CancelMarketResponseValidationError) ErrorName ¶
func (e CancelMarketResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CancelMarketResponseValidationError) Field ¶
func (e CancelMarketResponseValidationError) Field() string
Field function returns field value.
func (CancelMarketResponseValidationError) Key ¶
func (e CancelMarketResponseValidationError) Key() bool
Key function returns key value.
func (CancelMarketResponseValidationError) Reason ¶
func (e CancelMarketResponseValidationError) Reason() string
Reason function returns reason value.
type CreateBetRequest ¶
type CreateBetRequest struct { Book string `protobuf:"bytes,1,opt,name=book,proto3" json:"book,omitempty"` Bet *Bet `protobuf:"bytes,2,opt,name=bet,proto3" json:"bet,omitempty"` // contains filtered or unexported fields }
func (*CreateBetRequest) Descriptor
deprecated
func (*CreateBetRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBetRequest.ProtoReflect.Descriptor instead.
func (*CreateBetRequest) GetBet ¶
func (x *CreateBetRequest) GetBet() *Bet
func (*CreateBetRequest) GetBook ¶
func (x *CreateBetRequest) GetBook() string
func (*CreateBetRequest) ProtoMessage ¶
func (*CreateBetRequest) ProtoMessage()
func (*CreateBetRequest) ProtoReflect ¶
func (x *CreateBetRequest) ProtoReflect() protoreflect.Message
func (*CreateBetRequest) Reset ¶
func (x *CreateBetRequest) Reset()
func (*CreateBetRequest) String ¶
func (x *CreateBetRequest) String() string
func (*CreateBetRequest) Validate ¶
func (m *CreateBetRequest) Validate() error
Validate checks the field values on CreateBetRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateBetRequest) ValidateAll ¶
func (m *CreateBetRequest) ValidateAll() error
ValidateAll checks the field values on CreateBetRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateBetRequestMultiError, or nil if none found.
type CreateBetRequestMultiError ¶
type CreateBetRequestMultiError []error
CreateBetRequestMultiError is an error wrapping multiple validation errors returned by CreateBetRequest.ValidateAll() if the designated constraints aren't met.
func (CreateBetRequestMultiError) AllErrors ¶
func (m CreateBetRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateBetRequestMultiError) Error ¶
func (m CreateBetRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateBetRequestValidationError ¶
type CreateBetRequestValidationError struct {
// contains filtered or unexported fields
}
CreateBetRequestValidationError is the validation error returned by CreateBetRequest.Validate if the designated constraints aren't met.
func (CreateBetRequestValidationError) Cause ¶
func (e CreateBetRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateBetRequestValidationError) Error ¶
func (e CreateBetRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateBetRequestValidationError) ErrorName ¶
func (e CreateBetRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateBetRequestValidationError) Field ¶
func (e CreateBetRequestValidationError) Field() string
Field function returns field value.
func (CreateBetRequestValidationError) Key ¶
func (e CreateBetRequestValidationError) Key() bool
Key function returns key value.
func (CreateBetRequestValidationError) Reason ¶
func (e CreateBetRequestValidationError) Reason() string
Reason function returns reason value.
type CreateBetResponse ¶
type CreateBetResponse struct { Bet *Bet `protobuf:"bytes,1,opt,name=bet,proto3" json:"bet,omitempty"` // contains filtered or unexported fields }
func (*CreateBetResponse) Descriptor
deprecated
func (*CreateBetResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateBetResponse.ProtoReflect.Descriptor instead.
func (*CreateBetResponse) GetBet ¶
func (x *CreateBetResponse) GetBet() *Bet
func (*CreateBetResponse) ProtoMessage ¶
func (*CreateBetResponse) ProtoMessage()
func (*CreateBetResponse) ProtoReflect ¶
func (x *CreateBetResponse) ProtoReflect() protoreflect.Message
func (*CreateBetResponse) Reset ¶
func (x *CreateBetResponse) Reset()
func (*CreateBetResponse) String ¶
func (x *CreateBetResponse) String() string
func (*CreateBetResponse) Validate ¶
func (m *CreateBetResponse) Validate() error
Validate checks the field values on CreateBetResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateBetResponse) ValidateAll ¶
func (m *CreateBetResponse) ValidateAll() error
ValidateAll checks the field values on CreateBetResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateBetResponseMultiError, or nil if none found.
type CreateBetResponseMultiError ¶
type CreateBetResponseMultiError []error
CreateBetResponseMultiError is an error wrapping multiple validation errors returned by CreateBetResponse.ValidateAll() if the designated constraints aren't met.
func (CreateBetResponseMultiError) AllErrors ¶
func (m CreateBetResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateBetResponseMultiError) Error ¶
func (m CreateBetResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateBetResponseValidationError ¶
type CreateBetResponseValidationError struct {
// contains filtered or unexported fields
}
CreateBetResponseValidationError is the validation error returned by CreateBetResponse.Validate if the designated constraints aren't met.
func (CreateBetResponseValidationError) Cause ¶
func (e CreateBetResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateBetResponseValidationError) Error ¶
func (e CreateBetResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateBetResponseValidationError) ErrorName ¶
func (e CreateBetResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateBetResponseValidationError) Field ¶
func (e CreateBetResponseValidationError) Field() string
Field function returns field value.
func (CreateBetResponseValidationError) Key ¶
func (e CreateBetResponseValidationError) Key() bool
Key function returns key value.
func (CreateBetResponseValidationError) Reason ¶
func (e CreateBetResponseValidationError) Reason() string
Reason function returns reason value.
type CreateMarketRequest ¶
type CreateMarketRequest struct { Book string `protobuf:"bytes,1,opt,name=book,proto3" json:"book,omitempty"` Market *Market `protobuf:"bytes,2,opt,name=market,proto3" json:"market,omitempty"` // contains filtered or unexported fields }
func (*CreateMarketRequest) Descriptor
deprecated
func (*CreateMarketRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateMarketRequest.ProtoReflect.Descriptor instead.
func (*CreateMarketRequest) GetBook ¶
func (x *CreateMarketRequest) GetBook() string
func (*CreateMarketRequest) GetMarket ¶
func (x *CreateMarketRequest) GetMarket() *Market
func (*CreateMarketRequest) ProtoMessage ¶
func (*CreateMarketRequest) ProtoMessage()
func (*CreateMarketRequest) ProtoReflect ¶
func (x *CreateMarketRequest) ProtoReflect() protoreflect.Message
func (*CreateMarketRequest) Reset ¶
func (x *CreateMarketRequest) Reset()
func (*CreateMarketRequest) String ¶
func (x *CreateMarketRequest) String() string
func (*CreateMarketRequest) Validate ¶
func (m *CreateMarketRequest) Validate() error
Validate checks the field values on CreateMarketRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateMarketRequest) ValidateAll ¶
func (m *CreateMarketRequest) ValidateAll() error
ValidateAll checks the field values on CreateMarketRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateMarketRequestMultiError, or nil if none found.
type CreateMarketRequestMultiError ¶
type CreateMarketRequestMultiError []error
CreateMarketRequestMultiError is an error wrapping multiple validation errors returned by CreateMarketRequest.ValidateAll() if the designated constraints aren't met.
func (CreateMarketRequestMultiError) AllErrors ¶
func (m CreateMarketRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateMarketRequestMultiError) Error ¶
func (m CreateMarketRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateMarketRequestValidationError ¶
type CreateMarketRequestValidationError struct {
// contains filtered or unexported fields
}
CreateMarketRequestValidationError is the validation error returned by CreateMarketRequest.Validate if the designated constraints aren't met.
func (CreateMarketRequestValidationError) Cause ¶
func (e CreateMarketRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateMarketRequestValidationError) Error ¶
func (e CreateMarketRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateMarketRequestValidationError) ErrorName ¶
func (e CreateMarketRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateMarketRequestValidationError) Field ¶
func (e CreateMarketRequestValidationError) Field() string
Field function returns field value.
func (CreateMarketRequestValidationError) Key ¶
func (e CreateMarketRequestValidationError) Key() bool
Key function returns key value.
func (CreateMarketRequestValidationError) Reason ¶
func (e CreateMarketRequestValidationError) Reason() string
Reason function returns reason value.
type CreateMarketResponse ¶
type CreateMarketResponse struct { Market *Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"` // contains filtered or unexported fields }
func (*CreateMarketResponse) Descriptor
deprecated
func (*CreateMarketResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateMarketResponse.ProtoReflect.Descriptor instead.
func (*CreateMarketResponse) GetMarket ¶
func (x *CreateMarketResponse) GetMarket() *Market
func (*CreateMarketResponse) ProtoMessage ¶
func (*CreateMarketResponse) ProtoMessage()
func (*CreateMarketResponse) ProtoReflect ¶
func (x *CreateMarketResponse) ProtoReflect() protoreflect.Message
func (*CreateMarketResponse) Reset ¶
func (x *CreateMarketResponse) Reset()
func (*CreateMarketResponse) String ¶
func (x *CreateMarketResponse) String() string
func (*CreateMarketResponse) Validate ¶
func (m *CreateMarketResponse) Validate() error
Validate checks the field values on CreateMarketResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateMarketResponse) ValidateAll ¶
func (m *CreateMarketResponse) ValidateAll() error
ValidateAll checks the field values on CreateMarketResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateMarketResponseMultiError, or nil if none found.
type CreateMarketResponseMultiError ¶
type CreateMarketResponseMultiError []error
CreateMarketResponseMultiError is an error wrapping multiple validation errors returned by CreateMarketResponse.ValidateAll() if the designated constraints aren't met.
func (CreateMarketResponseMultiError) AllErrors ¶
func (m CreateMarketResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateMarketResponseMultiError) Error ¶
func (m CreateMarketResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateMarketResponseValidationError ¶
type CreateMarketResponseValidationError struct {
// contains filtered or unexported fields
}
CreateMarketResponseValidationError is the validation error returned by CreateMarketResponse.Validate if the designated constraints aren't met.
func (CreateMarketResponseValidationError) Cause ¶
func (e CreateMarketResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateMarketResponseValidationError) Error ¶
func (e CreateMarketResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateMarketResponseValidationError) ErrorName ¶
func (e CreateMarketResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateMarketResponseValidationError) Field ¶
func (e CreateMarketResponseValidationError) Field() string
Field function returns field value.
func (CreateMarketResponseValidationError) Key ¶
func (e CreateMarketResponseValidationError) Key() bool
Key function returns key value.
func (CreateMarketResponseValidationError) Reason ¶
func (e CreateMarketResponseValidationError) Reason() string
Reason function returns reason value.
type CreateUserRequest ¶
type CreateUserRequest struct { Book string `protobuf:"bytes,1,opt,name=book,proto3" json:"book,omitempty"` User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetBook ¶
func (x *CreateUserRequest) GetBook() string
func (*CreateUserRequest) GetUser ¶
func (x *CreateUserRequest) GetUser() *User
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
func (*CreateUserRequest) Validate ¶
func (m *CreateUserRequest) Validate() error
Validate checks the field values on CreateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateUserRequest) ValidateAll ¶
func (m *CreateUserRequest) ValidateAll() error
ValidateAll checks the field values on CreateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateUserRequestMultiError, or nil if none found.
type CreateUserRequestMultiError ¶
type CreateUserRequestMultiError []error
CreateUserRequestMultiError is an error wrapping multiple validation errors returned by CreateUserRequest.ValidateAll() if the designated constraints aren't met.
func (CreateUserRequestMultiError) AllErrors ¶
func (m CreateUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateUserRequestMultiError) Error ¶
func (m CreateUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateUserRequestValidationError ¶
type CreateUserRequestValidationError struct {
// contains filtered or unexported fields
}
CreateUserRequestValidationError is the validation error returned by CreateUserRequest.Validate if the designated constraints aren't met.
func (CreateUserRequestValidationError) Cause ¶
func (e CreateUserRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateUserRequestValidationError) Error ¶
func (e CreateUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateUserRequestValidationError) ErrorName ¶
func (e CreateUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateUserRequestValidationError) Field ¶
func (e CreateUserRequestValidationError) Field() string
Field function returns field value.
func (CreateUserRequestValidationError) Key ¶
func (e CreateUserRequestValidationError) Key() bool
Key function returns key value.
func (CreateUserRequestValidationError) Reason ¶
func (e CreateUserRequestValidationError) Reason() string
Reason function returns reason value.
type CreateUserResponse ¶
type CreateUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*CreateUserResponse) Descriptor
deprecated
func (*CreateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.
func (*CreateUserResponse) GetUser ¶
func (x *CreateUserResponse) GetUser() *User
func (*CreateUserResponse) ProtoMessage ¶
func (*CreateUserResponse) ProtoMessage()
func (*CreateUserResponse) ProtoReflect ¶
func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
func (*CreateUserResponse) Reset ¶
func (x *CreateUserResponse) Reset()
func (*CreateUserResponse) String ¶
func (x *CreateUserResponse) String() string
func (*CreateUserResponse) Validate ¶
func (m *CreateUserResponse) Validate() error
Validate checks the field values on CreateUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateUserResponse) ValidateAll ¶
func (m *CreateUserResponse) ValidateAll() error
ValidateAll checks the field values on CreateUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateUserResponseMultiError, or nil if none found.
type CreateUserResponseMultiError ¶
type CreateUserResponseMultiError []error
CreateUserResponseMultiError is an error wrapping multiple validation errors returned by CreateUserResponse.ValidateAll() if the designated constraints aren't met.
func (CreateUserResponseMultiError) AllErrors ¶
func (m CreateUserResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateUserResponseMultiError) Error ¶
func (m CreateUserResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateUserResponseValidationError ¶
type CreateUserResponseValidationError struct {
// contains filtered or unexported fields
}
CreateUserResponseValidationError is the validation error returned by CreateUserResponse.Validate if the designated constraints aren't met.
func (CreateUserResponseValidationError) Cause ¶
func (e CreateUserResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateUserResponseValidationError) Error ¶
func (e CreateUserResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateUserResponseValidationError) ErrorName ¶
func (e CreateUserResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateUserResponseValidationError) Field ¶
func (e CreateUserResponseValidationError) Field() string
Field function returns field value.
func (CreateUserResponseValidationError) Key ¶
func (e CreateUserResponseValidationError) Key() bool
Key function returns key value.
func (CreateUserResponseValidationError) Reason ¶
func (e CreateUserResponseValidationError) Reason() string
Reason function returns reason value.
type GetBetRequest ¶
type GetBetRequest struct { Bet string `protobuf:"bytes,1,opt,name=bet,proto3" json:"bet,omitempty"` // contains filtered or unexported fields }
func (*GetBetRequest) Descriptor
deprecated
func (*GetBetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBetRequest.ProtoReflect.Descriptor instead.
func (*GetBetRequest) GetBet ¶
func (x *GetBetRequest) GetBet() string
func (*GetBetRequest) ProtoMessage ¶
func (*GetBetRequest) ProtoMessage()
func (*GetBetRequest) ProtoReflect ¶
func (x *GetBetRequest) ProtoReflect() protoreflect.Message
func (*GetBetRequest) Reset ¶
func (x *GetBetRequest) Reset()
func (*GetBetRequest) String ¶
func (x *GetBetRequest) String() string
func (*GetBetRequest) Validate ¶
func (m *GetBetRequest) Validate() error
Validate checks the field values on GetBetRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetBetRequest) ValidateAll ¶
func (m *GetBetRequest) ValidateAll() error
ValidateAll checks the field values on GetBetRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetBetRequestMultiError, or nil if none found.
type GetBetRequestMultiError ¶
type GetBetRequestMultiError []error
GetBetRequestMultiError is an error wrapping multiple validation errors returned by GetBetRequest.ValidateAll() if the designated constraints aren't met.
func (GetBetRequestMultiError) AllErrors ¶
func (m GetBetRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetBetRequestMultiError) Error ¶
func (m GetBetRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetBetRequestValidationError ¶
type GetBetRequestValidationError struct {
// contains filtered or unexported fields
}
GetBetRequestValidationError is the validation error returned by GetBetRequest.Validate if the designated constraints aren't met.
func (GetBetRequestValidationError) Cause ¶
func (e GetBetRequestValidationError) Cause() error
Cause function returns cause value.
func (GetBetRequestValidationError) Error ¶
func (e GetBetRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetBetRequestValidationError) ErrorName ¶
func (e GetBetRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetBetRequestValidationError) Field ¶
func (e GetBetRequestValidationError) Field() string
Field function returns field value.
func (GetBetRequestValidationError) Key ¶
func (e GetBetRequestValidationError) Key() bool
Key function returns key value.
func (GetBetRequestValidationError) Reason ¶
func (e GetBetRequestValidationError) Reason() string
Reason function returns reason value.
type GetBetResponse ¶
type GetBetResponse struct { Bet *Bet `protobuf:"bytes,1,opt,name=bet,proto3" json:"bet,omitempty"` // contains filtered or unexported fields }
func (*GetBetResponse) Descriptor
deprecated
func (*GetBetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBetResponse.ProtoReflect.Descriptor instead.
func (*GetBetResponse) GetBet ¶
func (x *GetBetResponse) GetBet() *Bet
func (*GetBetResponse) ProtoMessage ¶
func (*GetBetResponse) ProtoMessage()
func (*GetBetResponse) ProtoReflect ¶
func (x *GetBetResponse) ProtoReflect() protoreflect.Message
func (*GetBetResponse) Reset ¶
func (x *GetBetResponse) Reset()
func (*GetBetResponse) String ¶
func (x *GetBetResponse) String() string
func (*GetBetResponse) Validate ¶
func (m *GetBetResponse) Validate() error
Validate checks the field values on GetBetResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetBetResponse) ValidateAll ¶
func (m *GetBetResponse) ValidateAll() error
ValidateAll checks the field values on GetBetResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetBetResponseMultiError, or nil if none found.
type GetBetResponseMultiError ¶
type GetBetResponseMultiError []error
GetBetResponseMultiError is an error wrapping multiple validation errors returned by GetBetResponse.ValidateAll() if the designated constraints aren't met.
func (GetBetResponseMultiError) AllErrors ¶
func (m GetBetResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetBetResponseMultiError) Error ¶
func (m GetBetResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetBetResponseValidationError ¶
type GetBetResponseValidationError struct {
// contains filtered or unexported fields
}
GetBetResponseValidationError is the validation error returned by GetBetResponse.Validate if the designated constraints aren't met.
func (GetBetResponseValidationError) Cause ¶
func (e GetBetResponseValidationError) Cause() error
Cause function returns cause value.
func (GetBetResponseValidationError) Error ¶
func (e GetBetResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetBetResponseValidationError) ErrorName ¶
func (e GetBetResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetBetResponseValidationError) Field ¶
func (e GetBetResponseValidationError) Field() string
Field function returns field value.
func (GetBetResponseValidationError) Key ¶
func (e GetBetResponseValidationError) Key() bool
Key function returns key value.
func (GetBetResponseValidationError) Reason ¶
func (e GetBetResponseValidationError) Reason() string
Reason function returns reason value.
type GetMarketRequest ¶
type GetMarketRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetMarketRequest) Descriptor
deprecated
func (*GetMarketRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMarketRequest.ProtoReflect.Descriptor instead.
func (*GetMarketRequest) GetName ¶
func (x *GetMarketRequest) GetName() string
func (*GetMarketRequest) ProtoMessage ¶
func (*GetMarketRequest) ProtoMessage()
func (*GetMarketRequest) ProtoReflect ¶
func (x *GetMarketRequest) ProtoReflect() protoreflect.Message
func (*GetMarketRequest) Reset ¶
func (x *GetMarketRequest) Reset()
func (*GetMarketRequest) String ¶
func (x *GetMarketRequest) String() string
func (*GetMarketRequest) Validate ¶
func (m *GetMarketRequest) Validate() error
Validate checks the field values on GetMarketRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetMarketRequest) ValidateAll ¶
func (m *GetMarketRequest) ValidateAll() error
ValidateAll checks the field values on GetMarketRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetMarketRequestMultiError, or nil if none found.
type GetMarketRequestMultiError ¶
type GetMarketRequestMultiError []error
GetMarketRequestMultiError is an error wrapping multiple validation errors returned by GetMarketRequest.ValidateAll() if the designated constraints aren't met.
func (GetMarketRequestMultiError) AllErrors ¶
func (m GetMarketRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetMarketRequestMultiError) Error ¶
func (m GetMarketRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetMarketRequestValidationError ¶
type GetMarketRequestValidationError struct {
// contains filtered or unexported fields
}
GetMarketRequestValidationError is the validation error returned by GetMarketRequest.Validate if the designated constraints aren't met.
func (GetMarketRequestValidationError) Cause ¶
func (e GetMarketRequestValidationError) Cause() error
Cause function returns cause value.
func (GetMarketRequestValidationError) Error ¶
func (e GetMarketRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetMarketRequestValidationError) ErrorName ¶
func (e GetMarketRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetMarketRequestValidationError) Field ¶
func (e GetMarketRequestValidationError) Field() string
Field function returns field value.
func (GetMarketRequestValidationError) Key ¶
func (e GetMarketRequestValidationError) Key() bool
Key function returns key value.
func (GetMarketRequestValidationError) Reason ¶
func (e GetMarketRequestValidationError) Reason() string
Reason function returns reason value.
type GetMarketResponse ¶
type GetMarketResponse struct { Market *Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"` // contains filtered or unexported fields }
func (*GetMarketResponse) Descriptor
deprecated
func (*GetMarketResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMarketResponse.ProtoReflect.Descriptor instead.
func (*GetMarketResponse) GetMarket ¶
func (x *GetMarketResponse) GetMarket() *Market
func (*GetMarketResponse) ProtoMessage ¶
func (*GetMarketResponse) ProtoMessage()
func (*GetMarketResponse) ProtoReflect ¶
func (x *GetMarketResponse) ProtoReflect() protoreflect.Message
func (*GetMarketResponse) Reset ¶
func (x *GetMarketResponse) Reset()
func (*GetMarketResponse) String ¶
func (x *GetMarketResponse) String() string
func (*GetMarketResponse) Validate ¶
func (m *GetMarketResponse) Validate() error
Validate checks the field values on GetMarketResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetMarketResponse) ValidateAll ¶
func (m *GetMarketResponse) ValidateAll() error
ValidateAll checks the field values on GetMarketResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetMarketResponseMultiError, or nil if none found.
type GetMarketResponseMultiError ¶
type GetMarketResponseMultiError []error
GetMarketResponseMultiError is an error wrapping multiple validation errors returned by GetMarketResponse.ValidateAll() if the designated constraints aren't met.
func (GetMarketResponseMultiError) AllErrors ¶
func (m GetMarketResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetMarketResponseMultiError) Error ¶
func (m GetMarketResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetMarketResponseValidationError ¶
type GetMarketResponseValidationError struct {
// contains filtered or unexported fields
}
GetMarketResponseValidationError is the validation error returned by GetMarketResponse.Validate if the designated constraints aren't met.
func (GetMarketResponseValidationError) Cause ¶
func (e GetMarketResponseValidationError) Cause() error
Cause function returns cause value.
func (GetMarketResponseValidationError) Error ¶
func (e GetMarketResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetMarketResponseValidationError) ErrorName ¶
func (e GetMarketResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetMarketResponseValidationError) Field ¶
func (e GetMarketResponseValidationError) Field() string
Field function returns field value.
func (GetMarketResponseValidationError) Key ¶
func (e GetMarketResponseValidationError) Key() bool
Key function returns key value.
func (GetMarketResponseValidationError) Reason ¶
func (e GetMarketResponseValidationError) Reason() string
Reason function returns reason value.
type GetUserByUsernameRequest ¶
type GetUserByUsernameRequest struct { Book string `protobuf:"bytes,1,opt,name=book,proto3" json:"book,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*GetUserByUsernameRequest) Descriptor
deprecated
func (*GetUserByUsernameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserByUsernameRequest.ProtoReflect.Descriptor instead.
func (*GetUserByUsernameRequest) GetBook ¶
func (x *GetUserByUsernameRequest) GetBook() string
func (*GetUserByUsernameRequest) GetUsername ¶
func (x *GetUserByUsernameRequest) GetUsername() string
func (*GetUserByUsernameRequest) ProtoMessage ¶
func (*GetUserByUsernameRequest) ProtoMessage()
func (*GetUserByUsernameRequest) ProtoReflect ¶
func (x *GetUserByUsernameRequest) ProtoReflect() protoreflect.Message
func (*GetUserByUsernameRequest) Reset ¶
func (x *GetUserByUsernameRequest) Reset()
func (*GetUserByUsernameRequest) String ¶
func (x *GetUserByUsernameRequest) String() string
func (*GetUserByUsernameRequest) Validate ¶
func (m *GetUserByUsernameRequest) Validate() error
Validate checks the field values on GetUserByUsernameRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetUserByUsernameRequest) ValidateAll ¶
func (m *GetUserByUsernameRequest) ValidateAll() error
ValidateAll checks the field values on GetUserByUsernameRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserByUsernameRequestMultiError, or nil if none found.
type GetUserByUsernameRequestMultiError ¶
type GetUserByUsernameRequestMultiError []error
GetUserByUsernameRequestMultiError is an error wrapping multiple validation errors returned by GetUserByUsernameRequest.ValidateAll() if the designated constraints aren't met.
func (GetUserByUsernameRequestMultiError) AllErrors ¶
func (m GetUserByUsernameRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserByUsernameRequestMultiError) Error ¶
func (m GetUserByUsernameRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserByUsernameRequestValidationError ¶
type GetUserByUsernameRequestValidationError struct {
// contains filtered or unexported fields
}
GetUserByUsernameRequestValidationError is the validation error returned by GetUserByUsernameRequest.Validate if the designated constraints aren't met.
func (GetUserByUsernameRequestValidationError) Cause ¶
func (e GetUserByUsernameRequestValidationError) Cause() error
Cause function returns cause value.
func (GetUserByUsernameRequestValidationError) Error ¶
func (e GetUserByUsernameRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserByUsernameRequestValidationError) ErrorName ¶
func (e GetUserByUsernameRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserByUsernameRequestValidationError) Field ¶
func (e GetUserByUsernameRequestValidationError) Field() string
Field function returns field value.
func (GetUserByUsernameRequestValidationError) Key ¶
func (e GetUserByUsernameRequestValidationError) Key() bool
Key function returns key value.
func (GetUserByUsernameRequestValidationError) Reason ¶
func (e GetUserByUsernameRequestValidationError) Reason() string
Reason function returns reason value.
type GetUserByUsernameResponse ¶
type GetUserByUsernameResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetUserByUsernameResponse) Descriptor
deprecated
func (*GetUserByUsernameResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserByUsernameResponse.ProtoReflect.Descriptor instead.
func (*GetUserByUsernameResponse) GetUser ¶
func (x *GetUserByUsernameResponse) GetUser() *User
func (*GetUserByUsernameResponse) ProtoMessage ¶
func (*GetUserByUsernameResponse) ProtoMessage()
func (*GetUserByUsernameResponse) ProtoReflect ¶
func (x *GetUserByUsernameResponse) ProtoReflect() protoreflect.Message
func (*GetUserByUsernameResponse) Reset ¶
func (x *GetUserByUsernameResponse) Reset()
func (*GetUserByUsernameResponse) String ¶
func (x *GetUserByUsernameResponse) String() string
func (*GetUserByUsernameResponse) Validate ¶
func (m *GetUserByUsernameResponse) Validate() error
Validate checks the field values on GetUserByUsernameResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetUserByUsernameResponse) ValidateAll ¶
func (m *GetUserByUsernameResponse) ValidateAll() error
ValidateAll checks the field values on GetUserByUsernameResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserByUsernameResponseMultiError, or nil if none found.
type GetUserByUsernameResponseMultiError ¶
type GetUserByUsernameResponseMultiError []error
GetUserByUsernameResponseMultiError is an error wrapping multiple validation errors returned by GetUserByUsernameResponse.ValidateAll() if the designated constraints aren't met.
func (GetUserByUsernameResponseMultiError) AllErrors ¶
func (m GetUserByUsernameResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserByUsernameResponseMultiError) Error ¶
func (m GetUserByUsernameResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserByUsernameResponseValidationError ¶
type GetUserByUsernameResponseValidationError struct {
// contains filtered or unexported fields
}
GetUserByUsernameResponseValidationError is the validation error returned by GetUserByUsernameResponse.Validate if the designated constraints aren't met.
func (GetUserByUsernameResponseValidationError) Cause ¶
func (e GetUserByUsernameResponseValidationError) Cause() error
Cause function returns cause value.
func (GetUserByUsernameResponseValidationError) Error ¶
func (e GetUserByUsernameResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserByUsernameResponseValidationError) ErrorName ¶
func (e GetUserByUsernameResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserByUsernameResponseValidationError) Field ¶
func (e GetUserByUsernameResponseValidationError) Field() string
Field function returns field value.
func (GetUserByUsernameResponseValidationError) Key ¶
func (e GetUserByUsernameResponseValidationError) Key() bool
Key function returns key value.
func (GetUserByUsernameResponseValidationError) Reason ¶
func (e GetUserByUsernameResponseValidationError) Reason() string
Reason function returns reason value.
type GetUserRequest ¶
type GetUserRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetName ¶
func (x *GetUserRequest) GetName() string
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
func (*GetUserRequest) Validate ¶
func (m *GetUserRequest) Validate() error
Validate checks the field values on GetUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetUserRequest) ValidateAll ¶
func (m *GetUserRequest) ValidateAll() error
ValidateAll checks the field values on GetUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserRequestMultiError, or nil if none found.
type GetUserRequestMultiError ¶
type GetUserRequestMultiError []error
GetUserRequestMultiError is an error wrapping multiple validation errors returned by GetUserRequest.ValidateAll() if the designated constraints aren't met.
func (GetUserRequestMultiError) AllErrors ¶
func (m GetUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserRequestMultiError) Error ¶
func (m GetUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserRequestValidationError ¶
type GetUserRequestValidationError struct {
// contains filtered or unexported fields
}
GetUserRequestValidationError is the validation error returned by GetUserRequest.Validate if the designated constraints aren't met.
func (GetUserRequestValidationError) Cause ¶
func (e GetUserRequestValidationError) Cause() error
Cause function returns cause value.
func (GetUserRequestValidationError) Error ¶
func (e GetUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserRequestValidationError) ErrorName ¶
func (e GetUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserRequestValidationError) Field ¶
func (e GetUserRequestValidationError) Field() string
Field function returns field value.
func (GetUserRequestValidationError) Key ¶
func (e GetUserRequestValidationError) Key() bool
Key function returns key value.
func (GetUserRequestValidationError) Reason ¶
func (e GetUserRequestValidationError) Reason() string
Reason function returns reason value.
type GetUserResponse ¶
type GetUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetUserResponse) Descriptor
deprecated
func (*GetUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.
func (*GetUserResponse) GetUser ¶
func (x *GetUserResponse) GetUser() *User
func (*GetUserResponse) ProtoMessage ¶
func (*GetUserResponse) ProtoMessage()
func (*GetUserResponse) ProtoReflect ¶
func (x *GetUserResponse) ProtoReflect() protoreflect.Message
func (*GetUserResponse) Reset ¶
func (x *GetUserResponse) Reset()
func (*GetUserResponse) String ¶
func (x *GetUserResponse) String() string
func (*GetUserResponse) Validate ¶
func (m *GetUserResponse) Validate() error
Validate checks the field values on GetUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetUserResponse) ValidateAll ¶
func (m *GetUserResponse) ValidateAll() error
ValidateAll checks the field values on GetUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserResponseMultiError, or nil if none found.
type GetUserResponseMultiError ¶
type GetUserResponseMultiError []error
GetUserResponseMultiError is an error wrapping multiple validation errors returned by GetUserResponse.ValidateAll() if the designated constraints aren't met.
func (GetUserResponseMultiError) AllErrors ¶
func (m GetUserResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserResponseMultiError) Error ¶
func (m GetUserResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserResponseValidationError ¶
type GetUserResponseValidationError struct {
// contains filtered or unexported fields
}
GetUserResponseValidationError is the validation error returned by GetUserResponse.Validate if the designated constraints aren't met.
func (GetUserResponseValidationError) Cause ¶
func (e GetUserResponseValidationError) Cause() error
Cause function returns cause value.
func (GetUserResponseValidationError) Error ¶
func (e GetUserResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserResponseValidationError) ErrorName ¶
func (e GetUserResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserResponseValidationError) Field ¶
func (e GetUserResponseValidationError) Field() string
Field function returns field value.
func (GetUserResponseValidationError) Key ¶
func (e GetUserResponseValidationError) Key() bool
Key function returns key value.
func (GetUserResponseValidationError) Reason ¶
func (e GetUserResponseValidationError) Reason() string
Reason function returns reason value.
type ListBetsRequest ¶
type ListBetsRequest struct { PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` Book string `protobuf:"bytes,3,opt,name=book,proto3" json:"book,omitempty"` User string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"` Market string `protobuf:"bytes,5,opt,name=market,proto3" json:"market,omitempty"` ExcludeSettled bool `protobuf:"varint,6,opt,name=exclude_settled,json=excludeSettled,proto3" json:"exclude_settled,omitempty"` // contains filtered or unexported fields }
func StripListBetsPagination ¶
func StripListBetsPagination(in *ListBetsRequest) *ListBetsRequest
StripListBetsPagination assists verifying next page tokens.
func (*ListBetsRequest) Descriptor
deprecated
func (*ListBetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBetsRequest.ProtoReflect.Descriptor instead.
func (*ListBetsRequest) GetBook ¶
func (x *ListBetsRequest) GetBook() string
func (*ListBetsRequest) GetExcludeSettled ¶
func (x *ListBetsRequest) GetExcludeSettled() bool
func (*ListBetsRequest) GetMarket ¶
func (x *ListBetsRequest) GetMarket() string
func (*ListBetsRequest) GetPageSize ¶
func (x *ListBetsRequest) GetPageSize() int32
func (*ListBetsRequest) GetPageToken ¶
func (x *ListBetsRequest) GetPageToken() string
func (*ListBetsRequest) GetUser ¶
func (x *ListBetsRequest) GetUser() string
func (*ListBetsRequest) ProtoMessage ¶
func (*ListBetsRequest) ProtoMessage()
func (*ListBetsRequest) ProtoReflect ¶
func (x *ListBetsRequest) ProtoReflect() protoreflect.Message
func (*ListBetsRequest) Reset ¶
func (x *ListBetsRequest) Reset()
func (*ListBetsRequest) String ¶
func (x *ListBetsRequest) String() string
func (*ListBetsRequest) Validate ¶
func (m *ListBetsRequest) Validate() error
Validate checks the field values on ListBetsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListBetsRequest) ValidateAll ¶
func (m *ListBetsRequest) ValidateAll() error
ValidateAll checks the field values on ListBetsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListBetsRequestMultiError, or nil if none found.
type ListBetsRequestMultiError ¶
type ListBetsRequestMultiError []error
ListBetsRequestMultiError is an error wrapping multiple validation errors returned by ListBetsRequest.ValidateAll() if the designated constraints aren't met.
func (ListBetsRequestMultiError) AllErrors ¶
func (m ListBetsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListBetsRequestMultiError) Error ¶
func (m ListBetsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListBetsRequestValidationError ¶
type ListBetsRequestValidationError struct {
// contains filtered or unexported fields
}
ListBetsRequestValidationError is the validation error returned by ListBetsRequest.Validate if the designated constraints aren't met.
func (ListBetsRequestValidationError) Cause ¶
func (e ListBetsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListBetsRequestValidationError) Error ¶
func (e ListBetsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListBetsRequestValidationError) ErrorName ¶
func (e ListBetsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListBetsRequestValidationError) Field ¶
func (e ListBetsRequestValidationError) Field() string
Field function returns field value.
func (ListBetsRequestValidationError) Key ¶
func (e ListBetsRequestValidationError) Key() bool
Key function returns key value.
func (ListBetsRequestValidationError) Reason ¶
func (e ListBetsRequestValidationError) Reason() string
Reason function returns reason value.
type ListBetsResponse ¶
type ListBetsResponse struct { Bets []*Bet `protobuf:"bytes,1,rep,name=bets,proto3" json:"bets,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListBetsResponse) Descriptor
deprecated
func (*ListBetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBetsResponse.ProtoReflect.Descriptor instead.
func (*ListBetsResponse) GetBets ¶
func (x *ListBetsResponse) GetBets() []*Bet
func (*ListBetsResponse) GetNextPageToken ¶
func (x *ListBetsResponse) GetNextPageToken() string
func (*ListBetsResponse) ProtoMessage ¶
func (*ListBetsResponse) ProtoMessage()
func (*ListBetsResponse) ProtoReflect ¶
func (x *ListBetsResponse) ProtoReflect() protoreflect.Message
func (*ListBetsResponse) Reset ¶
func (x *ListBetsResponse) Reset()
func (*ListBetsResponse) String ¶
func (x *ListBetsResponse) String() string
func (*ListBetsResponse) Validate ¶
func (m *ListBetsResponse) Validate() error
Validate checks the field values on ListBetsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListBetsResponse) ValidateAll ¶
func (m *ListBetsResponse) ValidateAll() error
ValidateAll checks the field values on ListBetsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListBetsResponseMultiError, or nil if none found.
type ListBetsResponseMultiError ¶
type ListBetsResponseMultiError []error
ListBetsResponseMultiError is an error wrapping multiple validation errors returned by ListBetsResponse.ValidateAll() if the designated constraints aren't met.
func (ListBetsResponseMultiError) AllErrors ¶
func (m ListBetsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListBetsResponseMultiError) Error ¶
func (m ListBetsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListBetsResponseValidationError ¶
type ListBetsResponseValidationError struct {
// contains filtered or unexported fields
}
ListBetsResponseValidationError is the validation error returned by ListBetsResponse.Validate if the designated constraints aren't met.
func (ListBetsResponseValidationError) Cause ¶
func (e ListBetsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListBetsResponseValidationError) Error ¶
func (e ListBetsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListBetsResponseValidationError) ErrorName ¶
func (e ListBetsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListBetsResponseValidationError) Field ¶
func (e ListBetsResponseValidationError) Field() string
Field function returns field value.
func (ListBetsResponseValidationError) Key ¶
func (e ListBetsResponseValidationError) Key() bool
Key function returns key value.
func (ListBetsResponseValidationError) Reason ¶
func (e ListBetsResponseValidationError) Reason() string
Reason function returns reason value.
type ListMarketsRequest ¶
type ListMarketsRequest struct { PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` Book string `protobuf:"bytes,3,opt,name=book,proto3" json:"book,omitempty"` Status Market_Status `protobuf:"varint,4,opt,name=status,proto3,enum=bettor.v1alpha.Market_Status" json:"status,omitempty"` // contains filtered or unexported fields }
func StripListMarketsPagination ¶
func StripListMarketsPagination(in *ListMarketsRequest) *ListMarketsRequest
StripListMarketsPagination assists verifying next page tokens.
func (*ListMarketsRequest) Descriptor
deprecated
func (*ListMarketsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMarketsRequest.ProtoReflect.Descriptor instead.
func (*ListMarketsRequest) GetBook ¶
func (x *ListMarketsRequest) GetBook() string
func (*ListMarketsRequest) GetPageSize ¶
func (x *ListMarketsRequest) GetPageSize() int32
func (*ListMarketsRequest) GetPageToken ¶
func (x *ListMarketsRequest) GetPageToken() string
func (*ListMarketsRequest) GetStatus ¶
func (x *ListMarketsRequest) GetStatus() Market_Status
func (*ListMarketsRequest) ProtoMessage ¶
func (*ListMarketsRequest) ProtoMessage()
func (*ListMarketsRequest) ProtoReflect ¶
func (x *ListMarketsRequest) ProtoReflect() protoreflect.Message
func (*ListMarketsRequest) Reset ¶
func (x *ListMarketsRequest) Reset()
func (*ListMarketsRequest) String ¶
func (x *ListMarketsRequest) String() string
func (*ListMarketsRequest) Validate ¶
func (m *ListMarketsRequest) Validate() error
Validate checks the field values on ListMarketsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListMarketsRequest) ValidateAll ¶
func (m *ListMarketsRequest) ValidateAll() error
ValidateAll checks the field values on ListMarketsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListMarketsRequestMultiError, or nil if none found.
type ListMarketsRequestMultiError ¶
type ListMarketsRequestMultiError []error
ListMarketsRequestMultiError is an error wrapping multiple validation errors returned by ListMarketsRequest.ValidateAll() if the designated constraints aren't met.
func (ListMarketsRequestMultiError) AllErrors ¶
func (m ListMarketsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListMarketsRequestMultiError) Error ¶
func (m ListMarketsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListMarketsRequestValidationError ¶
type ListMarketsRequestValidationError struct {
// contains filtered or unexported fields
}
ListMarketsRequestValidationError is the validation error returned by ListMarketsRequest.Validate if the designated constraints aren't met.
func (ListMarketsRequestValidationError) Cause ¶
func (e ListMarketsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListMarketsRequestValidationError) Error ¶
func (e ListMarketsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListMarketsRequestValidationError) ErrorName ¶
func (e ListMarketsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListMarketsRequestValidationError) Field ¶
func (e ListMarketsRequestValidationError) Field() string
Field function returns field value.
func (ListMarketsRequestValidationError) Key ¶
func (e ListMarketsRequestValidationError) Key() bool
Key function returns key value.
func (ListMarketsRequestValidationError) Reason ¶
func (e ListMarketsRequestValidationError) Reason() string
Reason function returns reason value.
type ListMarketsResponse ¶
type ListMarketsResponse struct { Markets []*Market `protobuf:"bytes,1,rep,name=markets,proto3" json:"markets,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListMarketsResponse) Descriptor
deprecated
func (*ListMarketsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMarketsResponse.ProtoReflect.Descriptor instead.
func (*ListMarketsResponse) GetMarkets ¶
func (x *ListMarketsResponse) GetMarkets() []*Market
func (*ListMarketsResponse) GetNextPageToken ¶
func (x *ListMarketsResponse) GetNextPageToken() string
func (*ListMarketsResponse) ProtoMessage ¶
func (*ListMarketsResponse) ProtoMessage()
func (*ListMarketsResponse) ProtoReflect ¶
func (x *ListMarketsResponse) ProtoReflect() protoreflect.Message
func (*ListMarketsResponse) Reset ¶
func (x *ListMarketsResponse) Reset()
func (*ListMarketsResponse) String ¶
func (x *ListMarketsResponse) String() string
func (*ListMarketsResponse) Validate ¶
func (m *ListMarketsResponse) Validate() error
Validate checks the field values on ListMarketsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListMarketsResponse) ValidateAll ¶
func (m *ListMarketsResponse) ValidateAll() error
ValidateAll checks the field values on ListMarketsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListMarketsResponseMultiError, or nil if none found.
type ListMarketsResponseMultiError ¶
type ListMarketsResponseMultiError []error
ListMarketsResponseMultiError is an error wrapping multiple validation errors returned by ListMarketsResponse.ValidateAll() if the designated constraints aren't met.
func (ListMarketsResponseMultiError) AllErrors ¶
func (m ListMarketsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListMarketsResponseMultiError) Error ¶
func (m ListMarketsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListMarketsResponseValidationError ¶
type ListMarketsResponseValidationError struct {
// contains filtered or unexported fields
}
ListMarketsResponseValidationError is the validation error returned by ListMarketsResponse.Validate if the designated constraints aren't met.
func (ListMarketsResponseValidationError) Cause ¶
func (e ListMarketsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListMarketsResponseValidationError) Error ¶
func (e ListMarketsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListMarketsResponseValidationError) ErrorName ¶
func (e ListMarketsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListMarketsResponseValidationError) Field ¶
func (e ListMarketsResponseValidationError) Field() string
Field function returns field value.
func (ListMarketsResponseValidationError) Key ¶
func (e ListMarketsResponseValidationError) Key() bool
Key function returns key value.
func (ListMarketsResponseValidationError) Reason ¶
func (e ListMarketsResponseValidationError) Reason() string
Reason function returns reason value.
type ListUsersRequest ¶
type ListUsersRequest struct { PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` Book string `protobuf:"bytes,3,opt,name=book,proto3" json:"book,omitempty"` Users []string `protobuf:"bytes,4,rep,name=users,proto3" json:"users,omitempty"` // valid options: "name" asc (default), "total_centipoints" desc OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // contains filtered or unexported fields }
func StripListUsersPagination ¶
func StripListUsersPagination(in *ListUsersRequest) *ListUsersRequest
StripListUsersPagination assists verifying next page tokens.
func (*ListUsersRequest) Descriptor
deprecated
func (*ListUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.
func (*ListUsersRequest) GetBook ¶
func (x *ListUsersRequest) GetBook() string
func (*ListUsersRequest) GetOrderBy ¶
func (x *ListUsersRequest) GetOrderBy() string
func (*ListUsersRequest) GetPageSize ¶
func (x *ListUsersRequest) GetPageSize() int32
func (*ListUsersRequest) GetPageToken ¶
func (x *ListUsersRequest) GetPageToken() string
func (*ListUsersRequest) GetUsers ¶
func (x *ListUsersRequest) GetUsers() []string
func (*ListUsersRequest) ProtoMessage ¶
func (*ListUsersRequest) ProtoMessage()
func (*ListUsersRequest) ProtoReflect ¶
func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
func (*ListUsersRequest) Reset ¶
func (x *ListUsersRequest) Reset()
func (*ListUsersRequest) String ¶
func (x *ListUsersRequest) String() string
func (*ListUsersRequest) Validate ¶
func (m *ListUsersRequest) Validate() error
Validate checks the field values on ListUsersRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListUsersRequest) ValidateAll ¶
func (m *ListUsersRequest) ValidateAll() error
ValidateAll checks the field values on ListUsersRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUsersRequestMultiError, or nil if none found.
type ListUsersRequestMultiError ¶
type ListUsersRequestMultiError []error
ListUsersRequestMultiError is an error wrapping multiple validation errors returned by ListUsersRequest.ValidateAll() if the designated constraints aren't met.
func (ListUsersRequestMultiError) AllErrors ¶
func (m ListUsersRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUsersRequestMultiError) Error ¶
func (m ListUsersRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUsersRequestValidationError ¶
type ListUsersRequestValidationError struct {
// contains filtered or unexported fields
}
ListUsersRequestValidationError is the validation error returned by ListUsersRequest.Validate if the designated constraints aren't met.
func (ListUsersRequestValidationError) Cause ¶
func (e ListUsersRequestValidationError) Cause() error
Cause function returns cause value.
func (ListUsersRequestValidationError) Error ¶
func (e ListUsersRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListUsersRequestValidationError) ErrorName ¶
func (e ListUsersRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListUsersRequestValidationError) Field ¶
func (e ListUsersRequestValidationError) Field() string
Field function returns field value.
func (ListUsersRequestValidationError) Key ¶
func (e ListUsersRequestValidationError) Key() bool
Key function returns key value.
func (ListUsersRequestValidationError) Reason ¶
func (e ListUsersRequestValidationError) Reason() string
Reason function returns reason value.
type ListUsersResponse ¶
type ListUsersResponse struct { Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListUsersResponse) Descriptor
deprecated
func (*ListUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.
func (*ListUsersResponse) GetNextPageToken ¶
func (x *ListUsersResponse) GetNextPageToken() string
func (*ListUsersResponse) GetUsers ¶
func (x *ListUsersResponse) GetUsers() []*User
func (*ListUsersResponse) ProtoMessage ¶
func (*ListUsersResponse) ProtoMessage()
func (*ListUsersResponse) ProtoReflect ¶
func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
func (*ListUsersResponse) Reset ¶
func (x *ListUsersResponse) Reset()
func (*ListUsersResponse) String ¶
func (x *ListUsersResponse) String() string
func (*ListUsersResponse) Validate ¶
func (m *ListUsersResponse) Validate() error
Validate checks the field values on ListUsersResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListUsersResponse) ValidateAll ¶
func (m *ListUsersResponse) ValidateAll() error
ValidateAll checks the field values on ListUsersResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUsersResponseMultiError, or nil if none found.
type ListUsersResponseMultiError ¶
type ListUsersResponseMultiError []error
ListUsersResponseMultiError is an error wrapping multiple validation errors returned by ListUsersResponse.ValidateAll() if the designated constraints aren't met.
func (ListUsersResponseMultiError) AllErrors ¶
func (m ListUsersResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUsersResponseMultiError) Error ¶
func (m ListUsersResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUsersResponseValidationError ¶
type ListUsersResponseValidationError struct {
// contains filtered or unexported fields
}
ListUsersResponseValidationError is the validation error returned by ListUsersResponse.Validate if the designated constraints aren't met.
func (ListUsersResponseValidationError) Cause ¶
func (e ListUsersResponseValidationError) Cause() error
Cause function returns cause value.
func (ListUsersResponseValidationError) Error ¶
func (e ListUsersResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListUsersResponseValidationError) ErrorName ¶
func (e ListUsersResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListUsersResponseValidationError) Field ¶
func (e ListUsersResponseValidationError) Field() string
Field function returns field value.
func (ListUsersResponseValidationError) Key ¶
func (e ListUsersResponseValidationError) Key() bool
Key function returns key value.
func (ListUsersResponseValidationError) Reason ¶
func (e ListUsersResponseValidationError) Reason() string
Reason function returns reason value.
type LockMarketRequest ¶
type LockMarketRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*LockMarketRequest) Descriptor
deprecated
func (*LockMarketRequest) Descriptor() ([]byte, []int)
Deprecated: Use LockMarketRequest.ProtoReflect.Descriptor instead.
func (*LockMarketRequest) GetName ¶
func (x *LockMarketRequest) GetName() string
func (*LockMarketRequest) ProtoMessage ¶
func (*LockMarketRequest) ProtoMessage()
func (*LockMarketRequest) ProtoReflect ¶
func (x *LockMarketRequest) ProtoReflect() protoreflect.Message
func (*LockMarketRequest) Reset ¶
func (x *LockMarketRequest) Reset()
func (*LockMarketRequest) String ¶
func (x *LockMarketRequest) String() string
func (*LockMarketRequest) Validate ¶
func (m *LockMarketRequest) Validate() error
Validate checks the field values on LockMarketRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LockMarketRequest) ValidateAll ¶
func (m *LockMarketRequest) ValidateAll() error
ValidateAll checks the field values on LockMarketRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LockMarketRequestMultiError, or nil if none found.
type LockMarketRequestMultiError ¶
type LockMarketRequestMultiError []error
LockMarketRequestMultiError is an error wrapping multiple validation errors returned by LockMarketRequest.ValidateAll() if the designated constraints aren't met.
func (LockMarketRequestMultiError) AllErrors ¶
func (m LockMarketRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LockMarketRequestMultiError) Error ¶
func (m LockMarketRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LockMarketRequestValidationError ¶
type LockMarketRequestValidationError struct {
// contains filtered or unexported fields
}
LockMarketRequestValidationError is the validation error returned by LockMarketRequest.Validate if the designated constraints aren't met.
func (LockMarketRequestValidationError) Cause ¶
func (e LockMarketRequestValidationError) Cause() error
Cause function returns cause value.
func (LockMarketRequestValidationError) Error ¶
func (e LockMarketRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LockMarketRequestValidationError) ErrorName ¶
func (e LockMarketRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LockMarketRequestValidationError) Field ¶
func (e LockMarketRequestValidationError) Field() string
Field function returns field value.
func (LockMarketRequestValidationError) Key ¶
func (e LockMarketRequestValidationError) Key() bool
Key function returns key value.
func (LockMarketRequestValidationError) Reason ¶
func (e LockMarketRequestValidationError) Reason() string
Reason function returns reason value.
type LockMarketResponse ¶
type LockMarketResponse struct { Market *Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"` // contains filtered or unexported fields }
func (*LockMarketResponse) Descriptor
deprecated
func (*LockMarketResponse) Descriptor() ([]byte, []int)
Deprecated: Use LockMarketResponse.ProtoReflect.Descriptor instead.
func (*LockMarketResponse) GetMarket ¶
func (x *LockMarketResponse) GetMarket() *Market
func (*LockMarketResponse) ProtoMessage ¶
func (*LockMarketResponse) ProtoMessage()
func (*LockMarketResponse) ProtoReflect ¶
func (x *LockMarketResponse) ProtoReflect() protoreflect.Message
func (*LockMarketResponse) Reset ¶
func (x *LockMarketResponse) Reset()
func (*LockMarketResponse) String ¶
func (x *LockMarketResponse) String() string
func (*LockMarketResponse) Validate ¶
func (m *LockMarketResponse) Validate() error
Validate checks the field values on LockMarketResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LockMarketResponse) ValidateAll ¶
func (m *LockMarketResponse) ValidateAll() error
ValidateAll checks the field values on LockMarketResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LockMarketResponseMultiError, or nil if none found.
type LockMarketResponseMultiError ¶
type LockMarketResponseMultiError []error
LockMarketResponseMultiError is an error wrapping multiple validation errors returned by LockMarketResponse.ValidateAll() if the designated constraints aren't met.
func (LockMarketResponseMultiError) AllErrors ¶
func (m LockMarketResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LockMarketResponseMultiError) Error ¶
func (m LockMarketResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LockMarketResponseValidationError ¶
type LockMarketResponseValidationError struct {
// contains filtered or unexported fields
}
LockMarketResponseValidationError is the validation error returned by LockMarketResponse.Validate if the designated constraints aren't met.
func (LockMarketResponseValidationError) Cause ¶
func (e LockMarketResponseValidationError) Cause() error
Cause function returns cause value.
func (LockMarketResponseValidationError) Error ¶
func (e LockMarketResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LockMarketResponseValidationError) ErrorName ¶
func (e LockMarketResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LockMarketResponseValidationError) Field ¶
func (e LockMarketResponseValidationError) Field() string
Field function returns field value.
func (LockMarketResponseValidationError) Key ¶
func (e LockMarketResponseValidationError) Key() bool
Key function returns key value.
func (LockMarketResponseValidationError) Reason ¶
func (e LockMarketResponseValidationError) Reason() string
Reason function returns reason value.
type Market ¶
type Market struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` SettledAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=settled_at,json=settledAt,proto3" json:"settled_at,omitempty"` Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` Creator string `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator,omitempty"` Status Market_Status `protobuf:"varint,7,opt,name=status,proto3,enum=bettor.v1alpha.Market_Status" json:"status,omitempty"` // Types that are assignable to Type: // // *Market_Pool Type isMarket_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
A betting market.
func (*Market) Descriptor
deprecated
func (*Market) GetCreatedAt ¶
func (x *Market) GetCreatedAt() *timestamppb.Timestamp
func (*Market) GetCreator ¶
func (*Market) GetSettledAt ¶
func (x *Market) GetSettledAt() *timestamppb.Timestamp
func (*Market) GetStatus ¶
func (x *Market) GetStatus() Market_Status
func (*Market) GetUpdatedAt ¶
func (x *Market) GetUpdatedAt() *timestamppb.Timestamp
func (*Market) ProtoMessage ¶
func (*Market) ProtoMessage()
func (*Market) ProtoReflect ¶
func (x *Market) ProtoReflect() protoreflect.Message
func (*Market) Validate ¶
Validate checks the field values on Market with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Market) ValidateAll ¶
ValidateAll checks the field values on Market with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MarketMultiError, or nil if none found.
type MarketMultiError ¶
type MarketMultiError []error
MarketMultiError is an error wrapping multiple validation errors returned by Market.ValidateAll() if the designated constraints aren't met.
func (MarketMultiError) AllErrors ¶
func (m MarketMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MarketMultiError) Error ¶
func (m MarketMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MarketValidationError ¶
type MarketValidationError struct {
// contains filtered or unexported fields
}
MarketValidationError is the validation error returned by Market.Validate if the designated constraints aren't met.
func (MarketValidationError) Cause ¶
func (e MarketValidationError) Cause() error
Cause function returns cause value.
func (MarketValidationError) Error ¶
func (e MarketValidationError) Error() string
Error satisfies the builtin error interface
func (MarketValidationError) ErrorName ¶
func (e MarketValidationError) ErrorName() string
ErrorName returns error name.
func (MarketValidationError) Field ¶
func (e MarketValidationError) Field() string
Field function returns field value.
func (MarketValidationError) Key ¶
func (e MarketValidationError) Key() bool
Key function returns key value.
func (MarketValidationError) Reason ¶
func (e MarketValidationError) Reason() string
Reason function returns reason value.
type Market_Pool ¶
type Market_Pool struct {
Pool *Pool `protobuf:"bytes,8,opt,name=pool,proto3,oneof"`
}
type Market_Status ¶
type Market_Status int32
const ( Market_STATUS_UNSPECIFIED Market_Status = 0 Market_STATUS_OPEN Market_Status = 1 Market_STATUS_BETS_LOCKED Market_Status = 2 Market_STATUS_SETTLED Market_Status = 3 Market_STATUS_CANCELED Market_Status = 4 )
func (Market_Status) Descriptor ¶
func (Market_Status) Descriptor() protoreflect.EnumDescriptor
func (Market_Status) Enum ¶
func (x Market_Status) Enum() *Market_Status
func (Market_Status) EnumDescriptor
deprecated
func (Market_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Market_Status.Descriptor instead.
func (Market_Status) Number ¶
func (x Market_Status) Number() protoreflect.EnumNumber
func (Market_Status) String ¶
func (x Market_Status) String() string
func (Market_Status) Type ¶
func (Market_Status) Type() protoreflect.EnumType
type Outcome ¶
type Outcome struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Centipoints uint64 `protobuf:"varint,3,opt,name=centipoints,proto3" json:"centipoints,omitempty"` // contains filtered or unexported fields }
An outcome in a pool betting market.
func (*Outcome) Descriptor
deprecated
func (*Outcome) GetCentipoints ¶
func (*Outcome) ProtoMessage ¶
func (*Outcome) ProtoMessage()
func (*Outcome) ProtoReflect ¶
func (x *Outcome) ProtoReflect() protoreflect.Message
func (*Outcome) Validate ¶
Validate checks the field values on Outcome with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Outcome) ValidateAll ¶
ValidateAll checks the field values on Outcome with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in OutcomeMultiError, or nil if none found.
type OutcomeMultiError ¶
type OutcomeMultiError []error
OutcomeMultiError is an error wrapping multiple validation errors returned by Outcome.ValidateAll() if the designated constraints aren't met.
func (OutcomeMultiError) AllErrors ¶
func (m OutcomeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OutcomeMultiError) Error ¶
func (m OutcomeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OutcomeValidationError ¶
type OutcomeValidationError struct {
// contains filtered or unexported fields
}
OutcomeValidationError is the validation error returned by Outcome.Validate if the designated constraints aren't met.
func (OutcomeValidationError) Cause ¶
func (e OutcomeValidationError) Cause() error
Cause function returns cause value.
func (OutcomeValidationError) Error ¶
func (e OutcomeValidationError) Error() string
Error satisfies the builtin error interface
func (OutcomeValidationError) ErrorName ¶
func (e OutcomeValidationError) ErrorName() string
ErrorName returns error name.
func (OutcomeValidationError) Field ¶
func (e OutcomeValidationError) Field() string
Field function returns field value.
func (OutcomeValidationError) Key ¶
func (e OutcomeValidationError) Key() bool
Key function returns key value.
func (OutcomeValidationError) Reason ¶
func (e OutcomeValidationError) Reason() string
Reason function returns reason value.
type Pool ¶
type Pool struct { Outcomes []*Outcome `protobuf:"bytes,1,rep,name=outcomes,proto3" json:"outcomes,omitempty"` Winner string `protobuf:"bytes,2,opt,name=winner,proto3" json:"winner,omitempty"` // contains filtered or unexported fields }
Pool or parimutuel betting market.
func (*Pool) Descriptor
deprecated
func (*Pool) GetOutcomes ¶
func (*Pool) ProtoMessage ¶
func (*Pool) ProtoMessage()
func (*Pool) ProtoReflect ¶
func (x *Pool) ProtoReflect() protoreflect.Message
func (*Pool) Validate ¶
Validate checks the field values on Pool with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Pool) ValidateAll ¶
ValidateAll checks the field values on Pool with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PoolMultiError, or nil if none found.
type PoolMultiError ¶
type PoolMultiError []error
PoolMultiError is an error wrapping multiple validation errors returned by Pool.ValidateAll() if the designated constraints aren't met.
func (PoolMultiError) AllErrors ¶
func (m PoolMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PoolMultiError) Error ¶
func (m PoolMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PoolValidationError ¶
type PoolValidationError struct {
// contains filtered or unexported fields
}
PoolValidationError is the validation error returned by Pool.Validate if the designated constraints aren't met.
func (PoolValidationError) Cause ¶
func (e PoolValidationError) Cause() error
Cause function returns cause value.
func (PoolValidationError) Error ¶
func (e PoolValidationError) Error() string
Error satisfies the builtin error interface
func (PoolValidationError) ErrorName ¶
func (e PoolValidationError) ErrorName() string
ErrorName returns error name.
func (PoolValidationError) Field ¶
func (e PoolValidationError) Field() string
Field function returns field value.
func (PoolValidationError) Key ¶
func (e PoolValidationError) Key() bool
Key function returns key value.
func (PoolValidationError) Reason ¶
func (e PoolValidationError) Reason() string
Reason function returns reason value.
type SettleMarketRequest ¶
type SettleMarketRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Types that are assignable to Type: // // *SettleMarketRequest_Winner Type isSettleMarketRequest_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*SettleMarketRequest) Descriptor
deprecated
func (*SettleMarketRequest) Descriptor() ([]byte, []int)
Deprecated: Use SettleMarketRequest.ProtoReflect.Descriptor instead.
func (*SettleMarketRequest) GetName ¶
func (x *SettleMarketRequest) GetName() string
func (*SettleMarketRequest) GetType ¶
func (m *SettleMarketRequest) GetType() isSettleMarketRequest_Type
func (*SettleMarketRequest) GetWinner ¶
func (x *SettleMarketRequest) GetWinner() string
func (*SettleMarketRequest) ProtoMessage ¶
func (*SettleMarketRequest) ProtoMessage()
func (*SettleMarketRequest) ProtoReflect ¶
func (x *SettleMarketRequest) ProtoReflect() protoreflect.Message
func (*SettleMarketRequest) Reset ¶
func (x *SettleMarketRequest) Reset()
func (*SettleMarketRequest) String ¶
func (x *SettleMarketRequest) String() string
func (*SettleMarketRequest) Validate ¶
func (m *SettleMarketRequest) Validate() error
Validate checks the field values on SettleMarketRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SettleMarketRequest) ValidateAll ¶
func (m *SettleMarketRequest) ValidateAll() error
ValidateAll checks the field values on SettleMarketRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SettleMarketRequestMultiError, or nil if none found.
type SettleMarketRequestMultiError ¶
type SettleMarketRequestMultiError []error
SettleMarketRequestMultiError is an error wrapping multiple validation errors returned by SettleMarketRequest.ValidateAll() if the designated constraints aren't met.
func (SettleMarketRequestMultiError) AllErrors ¶
func (m SettleMarketRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SettleMarketRequestMultiError) Error ¶
func (m SettleMarketRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SettleMarketRequestValidationError ¶
type SettleMarketRequestValidationError struct {
// contains filtered or unexported fields
}
SettleMarketRequestValidationError is the validation error returned by SettleMarketRequest.Validate if the designated constraints aren't met.
func (SettleMarketRequestValidationError) Cause ¶
func (e SettleMarketRequestValidationError) Cause() error
Cause function returns cause value.
func (SettleMarketRequestValidationError) Error ¶
func (e SettleMarketRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SettleMarketRequestValidationError) ErrorName ¶
func (e SettleMarketRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SettleMarketRequestValidationError) Field ¶
func (e SettleMarketRequestValidationError) Field() string
Field function returns field value.
func (SettleMarketRequestValidationError) Key ¶
func (e SettleMarketRequestValidationError) Key() bool
Key function returns key value.
func (SettleMarketRequestValidationError) Reason ¶
func (e SettleMarketRequestValidationError) Reason() string
Reason function returns reason value.
type SettleMarketRequest_Winner ¶
type SettleMarketRequest_Winner struct {
Winner string `protobuf:"bytes,2,opt,name=winner,proto3,oneof"`
}
type SettleMarketResponse ¶
type SettleMarketResponse struct { Market *Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"` // contains filtered or unexported fields }
func (*SettleMarketResponse) Descriptor
deprecated
func (*SettleMarketResponse) Descriptor() ([]byte, []int)
Deprecated: Use SettleMarketResponse.ProtoReflect.Descriptor instead.
func (*SettleMarketResponse) GetMarket ¶
func (x *SettleMarketResponse) GetMarket() *Market
func (*SettleMarketResponse) ProtoMessage ¶
func (*SettleMarketResponse) ProtoMessage()
func (*SettleMarketResponse) ProtoReflect ¶
func (x *SettleMarketResponse) ProtoReflect() protoreflect.Message
func (*SettleMarketResponse) Reset ¶
func (x *SettleMarketResponse) Reset()
func (*SettleMarketResponse) String ¶
func (x *SettleMarketResponse) String() string
func (*SettleMarketResponse) Validate ¶
func (m *SettleMarketResponse) Validate() error
Validate checks the field values on SettleMarketResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SettleMarketResponse) ValidateAll ¶
func (m *SettleMarketResponse) ValidateAll() error
ValidateAll checks the field values on SettleMarketResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SettleMarketResponseMultiError, or nil if none found.
type SettleMarketResponseMultiError ¶
type SettleMarketResponseMultiError []error
SettleMarketResponseMultiError is an error wrapping multiple validation errors returned by SettleMarketResponse.ValidateAll() if the designated constraints aren't met.
func (SettleMarketResponseMultiError) AllErrors ¶
func (m SettleMarketResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SettleMarketResponseMultiError) Error ¶
func (m SettleMarketResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SettleMarketResponseValidationError ¶
type SettleMarketResponseValidationError struct {
// contains filtered or unexported fields
}
SettleMarketResponseValidationError is the validation error returned by SettleMarketResponse.Validate if the designated constraints aren't met.
func (SettleMarketResponseValidationError) Cause ¶
func (e SettleMarketResponseValidationError) Cause() error
Cause function returns cause value.
func (SettleMarketResponseValidationError) Error ¶
func (e SettleMarketResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SettleMarketResponseValidationError) ErrorName ¶
func (e SettleMarketResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SettleMarketResponseValidationError) Field ¶
func (e SettleMarketResponseValidationError) Field() string
Field function returns field value.
func (SettleMarketResponseValidationError) Key ¶
func (e SettleMarketResponseValidationError) Key() bool
Key function returns key value.
func (SettleMarketResponseValidationError) Reason ¶
func (e SettleMarketResponseValidationError) Reason() string
Reason function returns reason value.
type User ¶
type User struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` Centipoints uint64 `protobuf:"varint,5,opt,name=centipoints,proto3" json:"centipoints,omitempty"` UnsettledCentipoints uint64 `protobuf:"varint,6,opt,name=unsettled_centipoints,json=unsettledCentipoints,proto3" json:"unsettled_centipoints,omitempty"` // virtual field hydrated on read // contains filtered or unexported fields }
User information.
func (*User) Descriptor
deprecated
func (*User) GetCentipoints ¶
func (*User) GetCreatedAt ¶
func (x *User) GetCreatedAt() *timestamppb.Timestamp
func (*User) GetUnsettledCentipoints ¶
func (*User) GetUpdatedAt ¶
func (x *User) GetUpdatedAt() *timestamppb.Timestamp
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
func (*User) Validate ¶
Validate checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*User) ValidateAll ¶
ValidateAll checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserMultiError, or nil if none found.
type UserMultiError ¶
type UserMultiError []error
UserMultiError is an error wrapping multiple validation errors returned by User.ValidateAll() if the designated constraints aren't met.
func (UserMultiError) AllErrors ¶
func (m UserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserMultiError) Error ¶
func (m UserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserValidationError ¶
type UserValidationError struct {
// contains filtered or unexported fields
}
UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.
func (UserValidationError) Cause ¶
func (e UserValidationError) Cause() error
Cause function returns cause value.
func (UserValidationError) Error ¶
func (e UserValidationError) Error() string
Error satisfies the builtin error interface
func (UserValidationError) ErrorName ¶
func (e UserValidationError) ErrorName() string
ErrorName returns error name.
func (UserValidationError) Field ¶
func (e UserValidationError) Field() string
Field function returns field value.
func (UserValidationError) Key ¶
func (e UserValidationError) Key() bool
Key function returns key value.
func (UserValidationError) Reason ¶
func (e UserValidationError) Reason() string
Reason function returns reason value.