Documentation ¶
Index ¶
- Variables
- func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer)
- func RegisterExchangeServer(s grpc.ServiceRegistrar, srv ExchangeServer)
- func RegisterProfileServer(s grpc.ServiceRegistrar, srv ProfileServer)
- type AuthClient
- type AuthServer
- type Candle
- func (*Candle) Descriptor() ([]byte, []int)deprecated
- func (x *Candle) GetClose() string
- func (x *Candle) GetCloseTime() string
- func (x *Candle) GetHigh() string
- func (x *Candle) GetLow() string
- func (x *Candle) GetOpen() string
- func (x *Candle) GetOpenTime() string
- func (x *Candle) GetTakerBuyBaseAssetVolume() string
- func (x *Candle) GetTakerBuyQuoteAssetVolume() string
- func (x *Candle) GetTradeNum() int64
- func (x *Candle) GetVolume() string
- func (*Candle) ProtoMessage()
- func (x *Candle) ProtoReflect() protoreflect.Message
- func (x *Candle) Reset()
- func (x *Candle) String() string
- type Coin
- func (*Coin) Descriptor() ([]byte, []int)deprecated
- func (x *Coin) GetAmount() float64
- func (x *Coin) GetAsset() string
- func (x *Coin) GetConvertedCoins() []*Converted
- func (x *Coin) GetPercentage() string
- func (x *Coin) GetType() string
- func (*Coin) ProtoMessage()
- func (x *Coin) ProtoReflect() protoreflect.Message
- func (x *Coin) Reset()
- func (x *Coin) String() string
- type CoinDetail
- func (*CoinDetail) Descriptor() ([]byte, []int)deprecated
- func (x *CoinDetail) GetCoin() string
- func (x *CoinDetail) GetId() string
- func (x *CoinDetail) GetInterval() string
- func (x *CoinDetail) GetLimit() string
- func (x *CoinDetail) GetVsCoin() string
- func (*CoinDetail) ProtoMessage()
- func (x *CoinDetail) ProtoReflect() protoreflect.Message
- func (x *CoinDetail) Reset()
- func (x *CoinDetail) String() string
- type CoinDetailResponse
- func (*CoinDetailResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CoinDetailResponse) GetCandles() []*Candle
- func (x *CoinDetailResponse) GetSymbol() string
- func (x *CoinDetailResponse) GetTransactions() []*TransactionPair
- func (*CoinDetailResponse) ProtoMessage()
- func (x *CoinDetailResponse) ProtoReflect() protoreflect.Message
- func (x *CoinDetailResponse) Reset()
- func (x *CoinDetailResponse) String() string
- type Converted
- type Data
- type ExchangeClient
- type ExchangeCommon
- func (*ExchangeCommon) Descriptor() ([]byte, []int)deprecated
- func (x *ExchangeCommon) GetId() string
- func (x *ExchangeCommon) GetName() string
- func (*ExchangeCommon) ProtoMessage()
- func (x *ExchangeCommon) ProtoReflect() protoreflect.Message
- func (x *ExchangeCommon) Reset()
- func (x *ExchangeCommon) String() string
- type ExchangeDataRequest
- func (*ExchangeDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExchangeDataRequest) GetExchangeId() string
- func (x *ExchangeDataRequest) GetUserId() string
- func (*ExchangeDataRequest) ProtoMessage()
- func (x *ExchangeDataRequest) ProtoReflect() protoreflect.Message
- func (x *ExchangeDataRequest) Reset()
- func (x *ExchangeDataRequest) String() string
- type ExchangeId
- type ExchangeList
- type ExchangeServer
- type ExchangeUser
- func (*ExchangeUser) Descriptor() ([]byte, []int)deprecated
- func (x *ExchangeUser) GetApiKey() string
- func (x *ExchangeUser) GetId() string
- func (x *ExchangeUser) GetSecretKey() string
- func (*ExchangeUser) ProtoMessage()
- func (x *ExchangeUser) ProtoReflect() protoreflect.Message
- func (x *ExchangeUser) Reset()
- func (x *ExchangeUser) String() string
- type ListPairsRequest
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetEmail() string
- func (x *LoginRequest) GetFirebaseToken() string
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetAccessToken() string
- func (x *LoginResponse) GetData() *Data
- func (x *LoginResponse) GetTokenType() string
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- type PEMResponse
- type PEMResponse_Key
- func (*PEMResponse_Key) Descriptor() ([]byte, []int)deprecated
- func (x *PEMResponse_Key) GetAlg() string
- func (x *PEMResponse_Key) GetE() []byte
- func (x *PEMResponse_Key) GetKid() string
- func (x *PEMResponse_Key) GetKty() string
- func (x *PEMResponse_Key) GetN() string
- func (x *PEMResponse_Key) GetUse() string
- func (*PEMResponse_Key) ProtoMessage()
- func (x *PEMResponse_Key) ProtoReflect() protoreflect.Message
- func (x *PEMResponse_Key) Reset()
- func (x *PEMResponse_Key) String() string
- type ProfileClient
- type ProfileResponse
- func (*ProfileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileResponse) GetEmail() string
- func (x *ProfileResponse) GetExchanges() []*ExchangeCommon
- func (x *ProfileResponse) GetId() string
- func (*ProfileResponse) ProtoMessage()
- func (x *ProfileResponse) ProtoReflect() protoreflect.Message
- func (x *ProfileResponse) Reset()
- func (x *ProfileResponse) String() string
- type ProfileServer
- type ProfileUpdateRequest
- func (*ProfileUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileUpdateRequest) GetExchanges() []*ExchangeUser
- func (*ProfileUpdateRequest) ProtoMessage()
- func (x *ProfileUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *ProfileUpdateRequest) Reset()
- func (x *ProfileUpdateRequest) String() string
- type SignupRequest
- func (*SignupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignupRequest) GetEmail() string
- func (x *SignupRequest) GetUid() string
- func (*SignupRequest) ProtoMessage()
- func (x *SignupRequest) ProtoReflect() protoreflect.Message
- func (x *SignupRequest) Reset()
- func (x *SignupRequest) String() string
- type SignupResponse
- func (*SignupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SignupResponse) GetEmail() string
- func (x *SignupResponse) GetId() string
- func (x *SignupResponse) GetVerified() bool
- func (*SignupResponse) ProtoMessage()
- func (x *SignupResponse) ProtoReflect() protoreflect.Message
- func (x *SignupResponse) Reset()
- func (x *SignupResponse) String() string
- type TokenRequest
- type TokenResponse
- func (*TokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TokenResponse) GetClaims() *TokenResponse_Claim
- func (x *TokenResponse) GetValid() bool
- func (*TokenResponse) ProtoMessage()
- func (x *TokenResponse) ProtoReflect() protoreflect.Message
- func (x *TokenResponse) Reset()
- func (x *TokenResponse) String() string
- type TokenResponse_Claim
- func (*TokenResponse_Claim) Descriptor() ([]byte, []int)deprecated
- func (x *TokenResponse_Claim) GetEmail() string
- func (x *TokenResponse_Claim) GetSub() string
- func (*TokenResponse_Claim) ProtoMessage()
- func (x *TokenResponse_Claim) ProtoReflect() protoreflect.Message
- func (x *TokenResponse_Claim) Reset()
- func (x *TokenResponse_Claim) String() string
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetAmount() float64
- func (x *Transaction) GetCoin() string
- func (x *Transaction) GetCreatedAt() string
- func (x *Transaction) GetUpdatedAt() string
- func (*Transaction) ProtoMessage()
- func (x *Transaction) ProtoReflect() protoreflect.Message
- func (x *Transaction) Reset()
- func (x *Transaction) String() string
- type TransactionPair
- func (*TransactionPair) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionPair) GetOrderType() string
- func (x *TransactionPair) GetOrigQty() string
- func (x *TransactionPair) GetPrice() string
- func (x *TransactionPair) GetSide() string
- func (x *TransactionPair) GetStatus() string
- func (x *TransactionPair) GetSymbol() string
- func (x *TransactionPair) GetTime() int64
- func (x *TransactionPair) GetUpdateTime() int64
- func (*TransactionPair) ProtoMessage()
- func (x *TransactionPair) ProtoReflect() protoreflect.Message
- func (x *TransactionPair) Reset()
- func (x *TransactionPair) String() string
- type UnimplementedAuthServer
- type UnimplementedExchangeServer
- func (UnimplementedExchangeServer) GetCoinDetail(context.Context, *CoinDetail) (*CoinDetailResponse, error)
- func (UnimplementedExchangeServer) GetUserInvested(context.Context, *ExchangeId) (*UserInvested, error)
- func (UnimplementedExchangeServer) GetUserPatrimony(context.Context, *ExchangeId) (*UserPatrimony, error)
- func (UnimplementedExchangeServer) ListAvailablePairs(context.Context, *ListPairsRequest) (*emptypb.Empty, error)
- func (UnimplementedExchangeServer) ListExchanges(context.Context, *emptypb.Empty) (*ExchangeList, error)
- type UnimplementedProfileServer
- func (UnimplementedProfileServer) GetProfile(context.Context, *emptypb.Empty) (*ProfileResponse, error)
- func (UnimplementedProfileServer) GetProfileInternal(context.Context, *ExchangeDataRequest) (*ExchangeUser, error)
- func (UnimplementedProfileServer) UpdateProfile(context.Context, *ProfileUpdateRequest) (*ProfileResponse, error)
- type UnsafeAuthServer
- type UnsafeExchangeServer
- type UnsafeProfileServer
- type UserInvested
- func (*UserInvested) Descriptor() ([]byte, []int)deprecated
- func (x *UserInvested) GetConverted() map[string]float64
- func (x *UserInvested) GetInvested() float64
- func (x *UserInvested) GetTransactions() []*Transaction
- func (*UserInvested) ProtoMessage()
- func (x *UserInvested) ProtoReflect() protoreflect.Message
- func (x *UserInvested) Reset()
- func (x *UserInvested) String() string
- type UserPatrimony
- func (*UserPatrimony) Descriptor() ([]byte, []int)deprecated
- func (x *UserPatrimony) GetCoins() []*Coin
- func (x *UserPatrimony) GetConverted() map[string]float64
- func (x *UserPatrimony) GetPatrimony() float64
- func (*UserPatrimony) ProtoMessage()
- func (x *UserPatrimony) ProtoReflect() protoreflect.Message
- func (x *UserPatrimony) Reset()
- func (x *UserPatrimony) String() string
Constants ¶
This section is empty.
Variables ¶
var Auth_ServiceDesc = grpc.ServiceDesc{ ServiceName: "radhark.radwallet.Auth", HandlerType: (*AuthServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Login", Handler: _Auth_Login_Handler, }, { MethodName: "Signup", Handler: _Auth_Signup_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "auth.proto", }
Auth_ServiceDesc is the grpc.ServiceDesc for Auth service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Exchange_ServiceDesc = grpc.ServiceDesc{ ServiceName: "radhark.radwallet.Exchange", HandlerType: (*ExchangeServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListExchanges", Handler: _Exchange_ListExchanges_Handler, }, { MethodName: "GetUserPatrimony", Handler: _Exchange_GetUserPatrimony_Handler, }, { MethodName: "GetUserInvested", Handler: _Exchange_GetUserInvested_Handler, }, { MethodName: "GetCoinDetail", Handler: _Exchange_GetCoinDetail_Handler, }, { MethodName: "ListAvailablePairs", Handler: _Exchange_ListAvailablePairs_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "exchange.proto", }
Exchange_ServiceDesc is the grpc.ServiceDesc for Exchange service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_auth_proto protoreflect.FileDescriptor
var File_exchange_proto protoreflect.FileDescriptor
var File_profile_proto protoreflect.FileDescriptor
var Profile_ServiceDesc = grpc.ServiceDesc{ ServiceName: "radhark.radwallet.Profile", HandlerType: (*ProfileServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateProfile", Handler: _Profile_UpdateProfile_Handler, }, { MethodName: "GetProfile", Handler: _Profile_GetProfile_Handler, }, { MethodName: "GetProfileInternal", Handler: _Profile_GetProfileInternal_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "profile.proto", }
Profile_ServiceDesc is the grpc.ServiceDesc for Profile service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAuthServer ¶
func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer)
func RegisterExchangeServer ¶ added in v0.0.3
func RegisterExchangeServer(s grpc.ServiceRegistrar, srv ExchangeServer)
func RegisterProfileServer ¶
func RegisterProfileServer(s grpc.ServiceRegistrar, srv ProfileServer)
Types ¶
type AuthClient ¶
type AuthClient interface { Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) Signup(ctx context.Context, in *SignupRequest, opts ...grpc.CallOption) (*SignupResponse, error) }
AuthClient is the client API for Auth service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAuthClient ¶
func NewAuthClient(cc grpc.ClientConnInterface) AuthClient
type AuthServer ¶
type AuthServer interface { Login(context.Context, *LoginRequest) (*LoginResponse, error) Signup(context.Context, *SignupRequest) (*SignupResponse, error) // contains filtered or unexported methods }
AuthServer is the server API for Auth service. All implementations must embed UnimplementedAuthServer for forward compatibility
type Candle ¶ added in v0.1.5
type Candle struct { OpenTime string `protobuf:"bytes,1,opt,name=openTime,json=open_time,proto3" json:"openTime,omitempty"` Open string `protobuf:"bytes,2,opt,name=open,proto3" json:"open,omitempty"` High string `protobuf:"bytes,3,opt,name=high,proto3" json:"high,omitempty"` Low string `protobuf:"bytes,4,opt,name=low,proto3" json:"low,omitempty"` Close string `protobuf:"bytes,5,opt,name=close,proto3" json:"close,omitempty"` Volume string `protobuf:"bytes,6,opt,name=volume,proto3" json:"volume,omitempty"` CloseTime string `protobuf:"bytes,7,opt,name=closeTime,json=close_time,proto3" json:"closeTime,omitempty"` TradeNum int64 `protobuf:"varint,8,opt,name=tradeNum,json=trade_num,proto3" json:"tradeNum,omitempty"` TakerBuyBaseAssetVolume string `` /* 132-byte string literal not displayed */ TakerBuyQuoteAssetVolume string `` /* 136-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Candle) Descriptor
deprecated
added in
v0.1.5
func (*Candle) GetCloseTime ¶ added in v0.1.5
func (*Candle) GetOpenTime ¶ added in v0.1.5
func (*Candle) GetTakerBuyBaseAssetVolume ¶ added in v0.1.5
func (*Candle) GetTakerBuyQuoteAssetVolume ¶ added in v0.1.5
func (*Candle) GetTradeNum ¶ added in v0.1.5
func (*Candle) ProtoMessage ¶ added in v0.1.5
func (*Candle) ProtoMessage()
func (*Candle) ProtoReflect ¶ added in v0.1.5
func (x *Candle) ProtoReflect() protoreflect.Message
type Coin ¶ added in v0.0.3
type Coin struct { Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` Amount float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` ConvertedCoins []*Converted `protobuf:"bytes,4,rep,name=converted_coins,proto3" json:"converted_coins,omitempty"` Percentage string `protobuf:"bytes,5,opt,name=percentage,proto3" json:"percentage,omitempty"` // contains filtered or unexported fields }
func (*Coin) Descriptor
deprecated
added in
v0.0.3
func (*Coin) GetConvertedCoins ¶ added in v0.1.2
func (*Coin) GetPercentage ¶ added in v0.0.3
func (*Coin) ProtoMessage ¶ added in v0.0.3
func (*Coin) ProtoMessage()
func (*Coin) ProtoReflect ¶ added in v0.0.3
func (x *Coin) ProtoReflect() protoreflect.Message
type CoinDetail ¶ added in v0.1.5
type CoinDetail struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Coin string `protobuf:"bytes,2,opt,name=coin,proto3" json:"coin,omitempty"` VsCoin string `protobuf:"bytes,3,opt,name=vsCoin,json=vs_coin,proto3" json:"vsCoin,omitempty"` Interval string `protobuf:"bytes,4,opt,name=interval,proto3" json:"interval,omitempty"` Limit string `protobuf:"bytes,5,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*CoinDetail) Descriptor
deprecated
added in
v0.1.5
func (*CoinDetail) Descriptor() ([]byte, []int)
Deprecated: Use CoinDetail.ProtoReflect.Descriptor instead.
func (*CoinDetail) GetCoin ¶ added in v0.1.5
func (x *CoinDetail) GetCoin() string
func (*CoinDetail) GetId ¶ added in v0.1.5
func (x *CoinDetail) GetId() string
func (*CoinDetail) GetInterval ¶ added in v0.1.5
func (x *CoinDetail) GetInterval() string
func (*CoinDetail) GetLimit ¶ added in v0.1.5
func (x *CoinDetail) GetLimit() string
func (*CoinDetail) GetVsCoin ¶ added in v0.1.5
func (x *CoinDetail) GetVsCoin() string
func (*CoinDetail) ProtoMessage ¶ added in v0.1.5
func (*CoinDetail) ProtoMessage()
func (*CoinDetail) ProtoReflect ¶ added in v0.1.5
func (x *CoinDetail) ProtoReflect() protoreflect.Message
func (*CoinDetail) Reset ¶ added in v0.1.5
func (x *CoinDetail) Reset()
func (*CoinDetail) String ¶ added in v0.1.5
func (x *CoinDetail) String() string
type CoinDetailResponse ¶ added in v0.1.5
type CoinDetailResponse struct { Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` Candles []*Candle `protobuf:"bytes,2,rep,name=candles,proto3" json:"candles,omitempty"` Transactions []*TransactionPair `protobuf:"bytes,3,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
func (*CoinDetailResponse) Descriptor
deprecated
added in
v0.1.5
func (*CoinDetailResponse) Descriptor() ([]byte, []int)
Deprecated: Use CoinDetailResponse.ProtoReflect.Descriptor instead.
func (*CoinDetailResponse) GetCandles ¶ added in v0.1.5
func (x *CoinDetailResponse) GetCandles() []*Candle
func (*CoinDetailResponse) GetSymbol ¶ added in v0.1.5
func (x *CoinDetailResponse) GetSymbol() string
func (*CoinDetailResponse) GetTransactions ¶ added in v0.1.9
func (x *CoinDetailResponse) GetTransactions() []*TransactionPair
func (*CoinDetailResponse) ProtoMessage ¶ added in v0.1.5
func (*CoinDetailResponse) ProtoMessage()
func (*CoinDetailResponse) ProtoReflect ¶ added in v0.1.5
func (x *CoinDetailResponse) ProtoReflect() protoreflect.Message
func (*CoinDetailResponse) Reset ¶ added in v0.1.5
func (x *CoinDetailResponse) Reset()
func (*CoinDetailResponse) String ¶ added in v0.1.5
func (x *CoinDetailResponse) String() string
type Converted ¶ added in v0.1.2
type Converted struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Amount float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*Converted) Descriptor
deprecated
added in
v0.1.2
func (*Converted) ProtoMessage ¶ added in v0.1.2
func (*Converted) ProtoMessage()
func (*Converted) ProtoReflect ¶ added in v0.1.2
func (x *Converted) ProtoReflect() protoreflect.Message
type Data ¶
type Data struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` Verified bool `protobuf:"varint,2,opt,name=verified,proto3" json:"verified,omitempty"` Exchanges []*ExchangeCommon `protobuf:"bytes,3,rep,name=exchanges,json=configured_exchanges,proto3" json:"exchanges,omitempty"` // contains filtered or unexported fields }
func (*Data) Descriptor
deprecated
func (*Data) GetExchanges ¶
func (x *Data) GetExchanges() []*ExchangeCommon
func (*Data) GetVerified ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
type ExchangeClient ¶ added in v0.0.3
type ExchangeClient interface { ListExchanges(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ExchangeList, error) GetUserPatrimony(ctx context.Context, in *ExchangeId, opts ...grpc.CallOption) (*UserPatrimony, error) GetUserInvested(ctx context.Context, in *ExchangeId, opts ...grpc.CallOption) (*UserInvested, error) GetCoinDetail(ctx context.Context, in *CoinDetail, opts ...grpc.CallOption) (*CoinDetailResponse, error) ListAvailablePairs(ctx context.Context, in *ListPairsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
ExchangeClient is the client API for Exchange service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewExchangeClient ¶ added in v0.0.3
func NewExchangeClient(cc grpc.ClientConnInterface) ExchangeClient
type ExchangeCommon ¶ added in v0.0.3
type ExchangeCommon struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ExchangeCommon) Descriptor
deprecated
added in
v0.0.3
func (*ExchangeCommon) Descriptor() ([]byte, []int)
Deprecated: Use ExchangeCommon.ProtoReflect.Descriptor instead.
func (*ExchangeCommon) GetId ¶ added in v0.0.3
func (x *ExchangeCommon) GetId() string
func (*ExchangeCommon) GetName ¶ added in v0.0.3
func (x *ExchangeCommon) GetName() string
func (*ExchangeCommon) ProtoMessage ¶ added in v0.0.3
func (*ExchangeCommon) ProtoMessage()
func (*ExchangeCommon) ProtoReflect ¶ added in v0.0.3
func (x *ExchangeCommon) ProtoReflect() protoreflect.Message
func (*ExchangeCommon) Reset ¶ added in v0.0.3
func (x *ExchangeCommon) Reset()
func (*ExchangeCommon) String ¶ added in v0.0.3
func (x *ExchangeCommon) String() string
type ExchangeDataRequest ¶ added in v0.0.3
type ExchangeDataRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` ExchangeId string `protobuf:"bytes,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` // contains filtered or unexported fields }
func (*ExchangeDataRequest) Descriptor
deprecated
added in
v0.0.3
func (*ExchangeDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExchangeDataRequest.ProtoReflect.Descriptor instead.
func (*ExchangeDataRequest) GetExchangeId ¶ added in v0.0.3
func (x *ExchangeDataRequest) GetExchangeId() string
func (*ExchangeDataRequest) GetUserId ¶ added in v0.0.3
func (x *ExchangeDataRequest) GetUserId() string
func (*ExchangeDataRequest) ProtoMessage ¶ added in v0.0.3
func (*ExchangeDataRequest) ProtoMessage()
func (*ExchangeDataRequest) ProtoReflect ¶ added in v0.0.3
func (x *ExchangeDataRequest) ProtoReflect() protoreflect.Message
func (*ExchangeDataRequest) Reset ¶ added in v0.0.3
func (x *ExchangeDataRequest) Reset()
func (*ExchangeDataRequest) String ¶ added in v0.0.3
func (x *ExchangeDataRequest) String() string
type ExchangeId ¶ added in v0.0.3
type ExchangeId struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Coin string `protobuf:"bytes,2,opt,name=coin,proto3" json:"coin,omitempty"` // contains filtered or unexported fields }
func (*ExchangeId) Descriptor
deprecated
added in
v0.0.3
func (*ExchangeId) Descriptor() ([]byte, []int)
Deprecated: Use ExchangeId.ProtoReflect.Descriptor instead.
func (*ExchangeId) GetCoin ¶ added in v0.0.3
func (x *ExchangeId) GetCoin() string
func (*ExchangeId) GetId ¶ added in v0.0.3
func (x *ExchangeId) GetId() string
func (*ExchangeId) ProtoMessage ¶ added in v0.0.3
func (*ExchangeId) ProtoMessage()
func (*ExchangeId) ProtoReflect ¶ added in v0.0.3
func (x *ExchangeId) ProtoReflect() protoreflect.Message
func (*ExchangeId) Reset ¶ added in v0.0.3
func (x *ExchangeId) Reset()
func (*ExchangeId) String ¶ added in v0.0.3
func (x *ExchangeId) String() string
type ExchangeList ¶ added in v0.0.3
type ExchangeList struct { Exchanges []*ExchangeCommon `protobuf:"bytes,1,rep,name=exchanges,proto3" json:"exchanges,omitempty"` // contains filtered or unexported fields }
func (*ExchangeList) Descriptor
deprecated
added in
v0.0.3
func (*ExchangeList) Descriptor() ([]byte, []int)
Deprecated: Use ExchangeList.ProtoReflect.Descriptor instead.
func (*ExchangeList) GetExchanges ¶ added in v0.0.3
func (x *ExchangeList) GetExchanges() []*ExchangeCommon
func (*ExchangeList) ProtoMessage ¶ added in v0.0.3
func (*ExchangeList) ProtoMessage()
func (*ExchangeList) ProtoReflect ¶ added in v0.0.3
func (x *ExchangeList) ProtoReflect() protoreflect.Message
func (*ExchangeList) Reset ¶ added in v0.0.3
func (x *ExchangeList) Reset()
func (*ExchangeList) String ¶ added in v0.0.3
func (x *ExchangeList) String() string
type ExchangeServer ¶ added in v0.0.3
type ExchangeServer interface { ListExchanges(context.Context, *emptypb.Empty) (*ExchangeList, error) GetUserPatrimony(context.Context, *ExchangeId) (*UserPatrimony, error) GetUserInvested(context.Context, *ExchangeId) (*UserInvested, error) GetCoinDetail(context.Context, *CoinDetail) (*CoinDetailResponse, error) ListAvailablePairs(context.Context, *ListPairsRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
ExchangeServer is the server API for Exchange service. All implementations must embed UnimplementedExchangeServer for forward compatibility
type ExchangeUser ¶ added in v0.0.3
type ExchangeUser struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ApiKey string `protobuf:"bytes,2,opt,name=api_key,proto3" json:"api_key,omitempty"` SecretKey string `protobuf:"bytes,3,opt,name=secret_key,proto3" json:"secret_key,omitempty"` // contains filtered or unexported fields }
func (*ExchangeUser) Descriptor
deprecated
added in
v0.0.3
func (*ExchangeUser) Descriptor() ([]byte, []int)
Deprecated: Use ExchangeUser.ProtoReflect.Descriptor instead.
func (*ExchangeUser) GetApiKey ¶ added in v0.0.3
func (x *ExchangeUser) GetApiKey() string
func (*ExchangeUser) GetId ¶ added in v0.0.3
func (x *ExchangeUser) GetId() string
func (*ExchangeUser) GetSecretKey ¶ added in v0.0.3
func (x *ExchangeUser) GetSecretKey() string
func (*ExchangeUser) ProtoMessage ¶ added in v0.0.3
func (*ExchangeUser) ProtoMessage()
func (*ExchangeUser) ProtoReflect ¶ added in v0.0.3
func (x *ExchangeUser) ProtoReflect() protoreflect.Message
func (*ExchangeUser) Reset ¶ added in v0.0.3
func (x *ExchangeUser) Reset()
func (*ExchangeUser) String ¶ added in v0.0.3
func (x *ExchangeUser) String() string
type ListPairsRequest ¶ added in v0.1.9
type ListPairsRequest struct { ExchangeId string `protobuf:"bytes,1,opt,name=exchangeId,proto3" json:"exchangeId,omitempty"` // contains filtered or unexported fields }
func (*ListPairsRequest) Descriptor
deprecated
added in
v0.1.9
func (*ListPairsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPairsRequest.ProtoReflect.Descriptor instead.
func (*ListPairsRequest) GetExchangeId ¶ added in v0.1.9
func (x *ListPairsRequest) GetExchangeId() string
func (*ListPairsRequest) ProtoMessage ¶ added in v0.1.9
func (*ListPairsRequest) ProtoMessage()
func (*ListPairsRequest) ProtoReflect ¶ added in v0.1.9
func (x *ListPairsRequest) ProtoReflect() protoreflect.Message
func (*ListPairsRequest) Reset ¶ added in v0.1.9
func (x *ListPairsRequest) Reset()
func (*ListPairsRequest) String ¶ added in v0.1.9
func (x *ListPairsRequest) String() string
type LoginRequest ¶
type LoginRequest struct { FirebaseToken string `protobuf:"bytes,1,opt,name=firebase_token,proto3" json:"firebase_token,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetEmail ¶
func (x *LoginRequest) GetEmail() string
func (*LoginRequest) GetFirebaseToken ¶
func (x *LoginRequest) GetFirebaseToken() string
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
type LoginResponse ¶
type LoginResponse struct { AccessToken string `protobuf:"bytes,1,opt,name=accessToken,json=access_token,proto3" json:"accessToken,omitempty"` TokenType string `protobuf:"bytes,2,opt,name=tokenType,json=token_type,proto3" json:"tokenType,omitempty"` Data *Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetAccessToken ¶
func (x *LoginResponse) GetAccessToken() string
func (*LoginResponse) GetData ¶
func (x *LoginResponse) GetData() *Data
func (*LoginResponse) GetTokenType ¶
func (x *LoginResponse) GetTokenType() string
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
type PEMResponse ¶
type PEMResponse struct { Keys []*PEMResponse_Key `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` // contains filtered or unexported fields }
func (*PEMResponse) Descriptor
deprecated
func (*PEMResponse) Descriptor() ([]byte, []int)
Deprecated: Use PEMResponse.ProtoReflect.Descriptor instead.
func (*PEMResponse) GetKeys ¶
func (x *PEMResponse) GetKeys() []*PEMResponse_Key
func (*PEMResponse) ProtoMessage ¶
func (*PEMResponse) ProtoMessage()
func (*PEMResponse) ProtoReflect ¶
func (x *PEMResponse) ProtoReflect() protoreflect.Message
func (*PEMResponse) Reset ¶
func (x *PEMResponse) Reset()
func (*PEMResponse) String ¶
func (x *PEMResponse) String() string
type PEMResponse_Key ¶
type PEMResponse_Key struct { E []byte `protobuf:"bytes,1,opt,name=e,proto3" json:"e,omitempty"` Kty string `protobuf:"bytes,2,opt,name=kty,proto3" json:"kty,omitempty"` N string `protobuf:"bytes,3,opt,name=n,proto3" json:"n,omitempty"` Alg string `protobuf:"bytes,4,opt,name=alg,proto3" json:"alg,omitempty"` Kid string `protobuf:"bytes,5,opt,name=kid,proto3" json:"kid,omitempty"` Use string `protobuf:"bytes,6,opt,name=use,proto3" json:"use,omitempty"` // contains filtered or unexported fields }
func (*PEMResponse_Key) Descriptor
deprecated
func (*PEMResponse_Key) Descriptor() ([]byte, []int)
Deprecated: Use PEMResponse_Key.ProtoReflect.Descriptor instead.
func (*PEMResponse_Key) GetAlg ¶
func (x *PEMResponse_Key) GetAlg() string
func (*PEMResponse_Key) GetE ¶
func (x *PEMResponse_Key) GetE() []byte
func (*PEMResponse_Key) GetKid ¶
func (x *PEMResponse_Key) GetKid() string
func (*PEMResponse_Key) GetKty ¶
func (x *PEMResponse_Key) GetKty() string
func (*PEMResponse_Key) GetN ¶
func (x *PEMResponse_Key) GetN() string
func (*PEMResponse_Key) GetUse ¶
func (x *PEMResponse_Key) GetUse() string
func (*PEMResponse_Key) ProtoMessage ¶
func (*PEMResponse_Key) ProtoMessage()
func (*PEMResponse_Key) ProtoReflect ¶
func (x *PEMResponse_Key) ProtoReflect() protoreflect.Message
func (*PEMResponse_Key) Reset ¶
func (x *PEMResponse_Key) Reset()
func (*PEMResponse_Key) String ¶
func (x *PEMResponse_Key) String() string
type ProfileClient ¶
type ProfileClient interface { UpdateProfile(ctx context.Context, in *ProfileUpdateRequest, opts ...grpc.CallOption) (*ProfileResponse, error) GetProfile(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ProfileResponse, error) GetProfileInternal(ctx context.Context, in *ExchangeDataRequest, opts ...grpc.CallOption) (*ExchangeUser, error) }
ProfileClient is the client API for Profile service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewProfileClient ¶
func NewProfileClient(cc grpc.ClientConnInterface) ProfileClient
type ProfileResponse ¶
type ProfileResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Exchanges []*ExchangeCommon `protobuf:"bytes,3,rep,name=exchanges,proto3" json:"exchanges,omitempty"` // contains filtered or unexported fields }
func (*ProfileResponse) Descriptor
deprecated
func (*ProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProfileResponse.ProtoReflect.Descriptor instead.
func (*ProfileResponse) GetEmail ¶
func (x *ProfileResponse) GetEmail() string
func (*ProfileResponse) GetExchanges ¶
func (x *ProfileResponse) GetExchanges() []*ExchangeCommon
func (*ProfileResponse) GetId ¶
func (x *ProfileResponse) GetId() string
func (*ProfileResponse) ProtoMessage ¶
func (*ProfileResponse) ProtoMessage()
func (*ProfileResponse) ProtoReflect ¶
func (x *ProfileResponse) ProtoReflect() protoreflect.Message
func (*ProfileResponse) Reset ¶
func (x *ProfileResponse) Reset()
func (*ProfileResponse) String ¶
func (x *ProfileResponse) String() string
type ProfileServer ¶
type ProfileServer interface { UpdateProfile(context.Context, *ProfileUpdateRequest) (*ProfileResponse, error) GetProfile(context.Context, *emptypb.Empty) (*ProfileResponse, error) GetProfileInternal(context.Context, *ExchangeDataRequest) (*ExchangeUser, error) // contains filtered or unexported methods }
ProfileServer is the server API for Profile service. All implementations must embed UnimplementedProfileServer for forward compatibility
type ProfileUpdateRequest ¶
type ProfileUpdateRequest struct { Exchanges []*ExchangeUser `protobuf:"bytes,1,rep,name=exchanges,proto3" json:"exchanges,omitempty"` // contains filtered or unexported fields }
func (*ProfileUpdateRequest) Descriptor
deprecated
func (*ProfileUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProfileUpdateRequest.ProtoReflect.Descriptor instead.
func (*ProfileUpdateRequest) GetExchanges ¶
func (x *ProfileUpdateRequest) GetExchanges() []*ExchangeUser
func (*ProfileUpdateRequest) ProtoMessage ¶
func (*ProfileUpdateRequest) ProtoMessage()
func (*ProfileUpdateRequest) ProtoReflect ¶
func (x *ProfileUpdateRequest) ProtoReflect() protoreflect.Message
func (*ProfileUpdateRequest) Reset ¶
func (x *ProfileUpdateRequest) Reset()
func (*ProfileUpdateRequest) String ¶
func (x *ProfileUpdateRequest) String() string
type SignupRequest ¶
type SignupRequest struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*SignupRequest) Descriptor
deprecated
func (*SignupRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignupRequest.ProtoReflect.Descriptor instead.
func (*SignupRequest) GetEmail ¶
func (x *SignupRequest) GetEmail() string
func (*SignupRequest) GetUid ¶
func (x *SignupRequest) GetUid() string
func (*SignupRequest) ProtoMessage ¶
func (*SignupRequest) ProtoMessage()
func (*SignupRequest) ProtoReflect ¶
func (x *SignupRequest) ProtoReflect() protoreflect.Message
func (*SignupRequest) Reset ¶
func (x *SignupRequest) Reset()
func (*SignupRequest) String ¶
func (x *SignupRequest) String() string
type SignupResponse ¶
type SignupResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Verified bool `protobuf:"varint,3,opt,name=verified,proto3" json:"verified,omitempty"` // contains filtered or unexported fields }
func (*SignupResponse) Descriptor
deprecated
func (*SignupResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignupResponse.ProtoReflect.Descriptor instead.
func (*SignupResponse) GetEmail ¶
func (x *SignupResponse) GetEmail() string
func (*SignupResponse) GetId ¶
func (x *SignupResponse) GetId() string
func (*SignupResponse) GetVerified ¶
func (x *SignupResponse) GetVerified() bool
func (*SignupResponse) ProtoMessage ¶
func (*SignupResponse) ProtoMessage()
func (*SignupResponse) ProtoReflect ¶
func (x *SignupResponse) ProtoReflect() protoreflect.Message
func (*SignupResponse) Reset ¶
func (x *SignupResponse) Reset()
func (*SignupResponse) String ¶
func (x *SignupResponse) String() string
type TokenRequest ¶
type TokenRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*TokenRequest) Descriptor
deprecated
func (*TokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use TokenRequest.ProtoReflect.Descriptor instead.
func (*TokenRequest) GetToken ¶
func (x *TokenRequest) GetToken() string
func (*TokenRequest) ProtoMessage ¶
func (*TokenRequest) ProtoMessage()
func (*TokenRequest) ProtoReflect ¶
func (x *TokenRequest) ProtoReflect() protoreflect.Message
func (*TokenRequest) Reset ¶
func (x *TokenRequest) Reset()
func (*TokenRequest) String ¶
func (x *TokenRequest) String() string
type TokenResponse ¶
type TokenResponse struct { Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"` Claims *TokenResponse_Claim `protobuf:"bytes,2,opt,name=claims,proto3" json:"claims,omitempty"` // contains filtered or unexported fields }
func (*TokenResponse) Descriptor
deprecated
func (*TokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use TokenResponse.ProtoReflect.Descriptor instead.
func (*TokenResponse) GetClaims ¶
func (x *TokenResponse) GetClaims() *TokenResponse_Claim
func (*TokenResponse) GetValid ¶
func (x *TokenResponse) GetValid() bool
func (*TokenResponse) ProtoMessage ¶
func (*TokenResponse) ProtoMessage()
func (*TokenResponse) ProtoReflect ¶
func (x *TokenResponse) ProtoReflect() protoreflect.Message
func (*TokenResponse) Reset ¶
func (x *TokenResponse) Reset()
func (*TokenResponse) String ¶
func (x *TokenResponse) String() string
type TokenResponse_Claim ¶
type TokenResponse_Claim struct { Sub string `protobuf:"bytes,1,opt,name=sub,proto3" json:"sub,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*TokenResponse_Claim) Descriptor
deprecated
func (*TokenResponse_Claim) Descriptor() ([]byte, []int)
Deprecated: Use TokenResponse_Claim.ProtoReflect.Descriptor instead.
func (*TokenResponse_Claim) GetEmail ¶
func (x *TokenResponse_Claim) GetEmail() string
func (*TokenResponse_Claim) GetSub ¶
func (x *TokenResponse_Claim) GetSub() string
func (*TokenResponse_Claim) ProtoMessage ¶
func (*TokenResponse_Claim) ProtoMessage()
func (*TokenResponse_Claim) ProtoReflect ¶
func (x *TokenResponse_Claim) ProtoReflect() protoreflect.Message
func (*TokenResponse_Claim) Reset ¶
func (x *TokenResponse_Claim) Reset()
func (*TokenResponse_Claim) String ¶
func (x *TokenResponse_Claim) String() string
type Transaction ¶ added in v0.1.0
type Transaction struct { Coin string `protobuf:"bytes,1,opt,name=coin,proto3" json:"coin,omitempty"` Amount float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"` CreatedAt string `protobuf:"bytes,3,opt,name=created_at,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,4,opt,name=updated_at,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Transaction) Descriptor
deprecated
added in
v0.1.0
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetAmount ¶ added in v0.1.0
func (x *Transaction) GetAmount() float64
func (*Transaction) GetCoin ¶ added in v0.1.0
func (x *Transaction) GetCoin() string
func (*Transaction) GetCreatedAt ¶ added in v0.1.0
func (x *Transaction) GetCreatedAt() string
func (*Transaction) GetUpdatedAt ¶ added in v0.1.0
func (x *Transaction) GetUpdatedAt() string
func (*Transaction) ProtoMessage ¶ added in v0.1.0
func (*Transaction) ProtoMessage()
func (*Transaction) ProtoReflect ¶ added in v0.1.0
func (x *Transaction) ProtoReflect() protoreflect.Message
func (*Transaction) Reset ¶ added in v0.1.0
func (x *Transaction) Reset()
func (*Transaction) String ¶ added in v0.1.0
func (x *Transaction) String() string
type TransactionPair ¶ added in v0.1.9
type TransactionPair struct { Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` Price string `protobuf:"bytes,2,opt,name=price,proto3" json:"price,omitempty"` OrigQty string `protobuf:"bytes,3,opt,name=origQty,proto3" json:"origQty,omitempty"` Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` OrderType string `protobuf:"bytes,5,opt,name=orderType,proto3" json:"orderType,omitempty"` Side string `protobuf:"bytes,6,opt,name=side,proto3" json:"side,omitempty"` Time int64 `protobuf:"varint,7,opt,name=time,proto3" json:"time,omitempty"` UpdateTime int64 `protobuf:"varint,8,opt,name=updateTime,proto3" json:"updateTime,omitempty"` // contains filtered or unexported fields }
func (*TransactionPair) Descriptor
deprecated
added in
v0.1.9
func (*TransactionPair) Descriptor() ([]byte, []int)
Deprecated: Use TransactionPair.ProtoReflect.Descriptor instead.
func (*TransactionPair) GetOrderType ¶ added in v0.1.9
func (x *TransactionPair) GetOrderType() string
func (*TransactionPair) GetOrigQty ¶ added in v0.1.9
func (x *TransactionPair) GetOrigQty() string
func (*TransactionPair) GetPrice ¶ added in v0.1.9
func (x *TransactionPair) GetPrice() string
func (*TransactionPair) GetSide ¶ added in v0.1.9
func (x *TransactionPair) GetSide() string
func (*TransactionPair) GetStatus ¶ added in v0.1.9
func (x *TransactionPair) GetStatus() string
func (*TransactionPair) GetSymbol ¶ added in v0.1.9
func (x *TransactionPair) GetSymbol() string
func (*TransactionPair) GetTime ¶ added in v0.1.9
func (x *TransactionPair) GetTime() int64
func (*TransactionPair) GetUpdateTime ¶ added in v0.1.9
func (x *TransactionPair) GetUpdateTime() int64
func (*TransactionPair) ProtoMessage ¶ added in v0.1.9
func (*TransactionPair) ProtoMessage()
func (*TransactionPair) ProtoReflect ¶ added in v0.1.9
func (x *TransactionPair) ProtoReflect() protoreflect.Message
func (*TransactionPair) Reset ¶ added in v0.1.9
func (x *TransactionPair) Reset()
func (*TransactionPair) String ¶ added in v0.1.9
func (x *TransactionPair) String() string
type UnimplementedAuthServer ¶
type UnimplementedAuthServer struct { }
UnimplementedAuthServer must be embedded to have forward compatible implementations.
func (UnimplementedAuthServer) Login ¶
func (UnimplementedAuthServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
func (UnimplementedAuthServer) Signup ¶
func (UnimplementedAuthServer) Signup(context.Context, *SignupRequest) (*SignupResponse, error)
type UnimplementedExchangeServer ¶ added in v0.0.3
type UnimplementedExchangeServer struct { }
UnimplementedExchangeServer must be embedded to have forward compatible implementations.
func (UnimplementedExchangeServer) GetCoinDetail ¶ added in v0.1.5
func (UnimplementedExchangeServer) GetCoinDetail(context.Context, *CoinDetail) (*CoinDetailResponse, error)
func (UnimplementedExchangeServer) GetUserInvested ¶ added in v0.0.3
func (UnimplementedExchangeServer) GetUserInvested(context.Context, *ExchangeId) (*UserInvested, error)
func (UnimplementedExchangeServer) GetUserPatrimony ¶ added in v0.0.3
func (UnimplementedExchangeServer) GetUserPatrimony(context.Context, *ExchangeId) (*UserPatrimony, error)
func (UnimplementedExchangeServer) ListAvailablePairs ¶ added in v0.1.9
func (UnimplementedExchangeServer) ListAvailablePairs(context.Context, *ListPairsRequest) (*emptypb.Empty, error)
func (UnimplementedExchangeServer) ListExchanges ¶ added in v0.0.3
func (UnimplementedExchangeServer) ListExchanges(context.Context, *emptypb.Empty) (*ExchangeList, error)
type UnimplementedProfileServer ¶
type UnimplementedProfileServer struct { }
UnimplementedProfileServer must be embedded to have forward compatible implementations.
func (UnimplementedProfileServer) GetProfile ¶
func (UnimplementedProfileServer) GetProfile(context.Context, *emptypb.Empty) (*ProfileResponse, error)
func (UnimplementedProfileServer) GetProfileInternal ¶ added in v0.0.3
func (UnimplementedProfileServer) GetProfileInternal(context.Context, *ExchangeDataRequest) (*ExchangeUser, error)
func (UnimplementedProfileServer) UpdateProfile ¶
func (UnimplementedProfileServer) UpdateProfile(context.Context, *ProfileUpdateRequest) (*ProfileResponse, error)
type UnsafeAuthServer ¶
type UnsafeAuthServer interface {
// contains filtered or unexported methods
}
UnsafeAuthServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServer will result in compilation errors.
type UnsafeExchangeServer ¶ added in v0.0.3
type UnsafeExchangeServer interface {
// contains filtered or unexported methods
}
UnsafeExchangeServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ExchangeServer will result in compilation errors.
type UnsafeProfileServer ¶
type UnsafeProfileServer interface {
// contains filtered or unexported methods
}
UnsafeProfileServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProfileServer will result in compilation errors.
type UserInvested ¶ added in v0.0.3
type UserInvested struct { Invested float64 `protobuf:"fixed64,1,opt,name=invested,proto3" json:"invested,omitempty"` Converted map[string]float64 `` /* 185-byte string literal not displayed */ Transactions []*Transaction `protobuf:"bytes,3,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
func (*UserInvested) Descriptor
deprecated
added in
v0.0.3
func (*UserInvested) Descriptor() ([]byte, []int)
Deprecated: Use UserInvested.ProtoReflect.Descriptor instead.
func (*UserInvested) GetConverted ¶ added in v0.1.4
func (x *UserInvested) GetConverted() map[string]float64
func (*UserInvested) GetInvested ¶ added in v0.0.3
func (x *UserInvested) GetInvested() float64
func (*UserInvested) GetTransactions ¶ added in v0.1.0
func (x *UserInvested) GetTransactions() []*Transaction
func (*UserInvested) ProtoMessage ¶ added in v0.0.3
func (*UserInvested) ProtoMessage()
func (*UserInvested) ProtoReflect ¶ added in v0.0.3
func (x *UserInvested) ProtoReflect() protoreflect.Message
func (*UserInvested) Reset ¶ added in v0.0.3
func (x *UserInvested) Reset()
func (*UserInvested) String ¶ added in v0.0.3
func (x *UserInvested) String() string
type UserPatrimony ¶ added in v0.0.3
type UserPatrimony struct { Patrimony float64 `protobuf:"fixed64,1,opt,name=patrimony,proto3" json:"patrimony,omitempty"` Converted map[string]float64 `` /* 186-byte string literal not displayed */ Coins []*Coin `protobuf:"bytes,3,rep,name=coins,proto3" json:"coins,omitempty"` // contains filtered or unexported fields }
func (*UserPatrimony) Descriptor
deprecated
added in
v0.0.3
func (*UserPatrimony) Descriptor() ([]byte, []int)
Deprecated: Use UserPatrimony.ProtoReflect.Descriptor instead.
func (*UserPatrimony) GetCoins ¶ added in v0.0.3
func (x *UserPatrimony) GetCoins() []*Coin
func (*UserPatrimony) GetConverted ¶ added in v0.1.2
func (x *UserPatrimony) GetConverted() map[string]float64
func (*UserPatrimony) GetPatrimony ¶ added in v0.0.3
func (x *UserPatrimony) GetPatrimony() float64
func (*UserPatrimony) ProtoMessage ¶ added in v0.0.3
func (*UserPatrimony) ProtoMessage()
func (*UserPatrimony) ProtoReflect ¶ added in v0.0.3
func (x *UserPatrimony) ProtoReflect() protoreflect.Message
func (*UserPatrimony) Reset ¶ added in v0.0.3
func (x *UserPatrimony) Reset()
func (*UserPatrimony) String ¶ added in v0.0.3
func (x *UserPatrimony) String() string