radwallet

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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)

View Source
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,
		},
	},
	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)

View Source
var File_exchange_proto protoreflect.FileDescriptor
View Source
var File_profile_proto protoreflect.FileDescriptor
View Source
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 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"`
	AmountConverted float64 `protobuf:"fixed64,3,opt,name=amount_converted,proto3" json:"amount_converted,omitempty"`
	Percentage      string  `protobuf:"bytes,4,opt,name=percentage,proto3" json:"percentage,omitempty"`
	// contains filtered or unexported fields
}

func (*Coin) Descriptor deprecated added in v0.0.3

func (*Coin) Descriptor() ([]byte, []int)

Deprecated: Use Coin.ProtoReflect.Descriptor instead.

func (*Coin) GetAmount added in v0.0.3

func (x *Coin) GetAmount() float64

func (*Coin) GetAmountConverted added in v0.0.3

func (x *Coin) GetAmountConverted() float64

func (*Coin) GetAsset added in v0.0.3

func (x *Coin) GetAsset() string

func (*Coin) GetPercentage added in v0.0.3

func (x *Coin) GetPercentage() string

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

func (*Coin) Reset added in v0.0.3

func (x *Coin) Reset()

func (*Coin) String added in v0.0.3

func (x *Coin) String() string

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

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetEmail

func (x *Data) GetEmail() string

func (*Data) GetExchanges

func (x *Data) GetExchanges() []*ExchangeCommon

func (*Data) GetVerified

func (x *Data) GetVerified() bool

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) ProtoReflect

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

func (*Data) Reset

func (x *Data) Reset()

func (*Data) String

func (x *Data) String() string

type ExchangeClient added in v0.0.3

type ExchangeClient interface {
	ListExchanges(ctx context.Context, in *empty.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)
}

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, *empty.Empty) (*ExchangeList, error)
	GetUserPatrimony(context.Context, *ExchangeId) (*UserPatrimony, error)
	GetUserInvested(context.Context, *ExchangeId) (*UserInvested, 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 LoginRequest

type LoginRequest struct {
	FirebaseToken string `protobuf:"bytes,1,opt,name=firebaseToken,json=firebase_token,proto3" json:"firebaseToken,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 *empty.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, *empty.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 UnimplementedAuthServer

type UnimplementedAuthServer struct {
}

UnimplementedAuthServer must be embedded to have forward compatible implementations.

func (UnimplementedAuthServer) Login

func (UnimplementedAuthServer) Signup

type UnimplementedExchangeServer added in v0.0.3

type UnimplementedExchangeServer struct {
}

UnimplementedExchangeServer must be embedded to have forward compatible implementations.

func (UnimplementedExchangeServer) GetUserInvested added in v0.0.3

func (UnimplementedExchangeServer) GetUserPatrimony added in v0.0.3

func (UnimplementedExchangeServer) ListExchanges added in v0.0.3

type UnimplementedProfileServer

type UnimplementedProfileServer struct {
}

UnimplementedProfileServer must be embedded to have forward compatible implementations.

func (UnimplementedProfileServer) GetProfile

func (UnimplementedProfileServer) GetProfileInternal added in v0.0.3

func (UnimplementedProfileServer) UpdateProfile

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"`
	// 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) GetInvested added in v0.0.3

func (x *UserInvested) GetInvested() float64

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"`
	Coins     []*Coin `protobuf:"bytes,2,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) 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

Jump to

Keyboard shortcuts

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