Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterFTaxesServer(s grpc.ServiceRegistrar, srv FTaxesServer)
- func RegisterPluginCtlServer(s grpc.ServiceRegistrar, srv PluginCtlServer)
- type AppLogMsg
- func (*AppLogMsg) Descriptor() ([]byte, []int)deprecated
- func (x *AppLogMsg) GetLevel() LogLevel
- func (x *AppLogMsg) GetMessage() string
- func (x *AppLogMsg) GetTags() []string
- func (*AppLogMsg) ProtoMessage()
- func (x *AppLogMsg) ProtoReflect() protoreflect.Message
- func (x *AppLogMsg) Reset()
- func (x *AppLogMsg) String() string
- type FTaxesClient
- type FTaxesServer
- type FTaxes_StreamRecordsClient
- type FTaxes_StreamRecordsServer
- type JobProgress
- func (*JobProgress) Descriptor() ([]byte, []int)deprecated
- func (x *JobProgress) GetID() string
- func (x *JobProgress) GetLabel() string
- func (x *JobProgress) GetPlugin() string
- func (x *JobProgress) GetProgress() string
- func (*JobProgress) ProtoMessage()
- func (x *JobProgress) ProtoReflect() protoreflect.Message
- func (x *JobProgress) Reset()
- func (x *JobProgress) String() string
- type LogLevel
- type OrderType
- type PluginCtlClient
- type PluginCtlServer
- type PluginInfo
- func (*PluginInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PluginInfo) GetHasCtlServer() bool
- func (x *PluginInfo) GetID() string
- func (x *PluginInfo) GetVersion() string
- func (*PluginInfo) ProtoMessage()
- func (x *PluginInfo) ProtoReflect() protoreflect.Message
- func (x *PluginInfo) Reset()
- func (x *PluginInfo) String() string
- type Record
- type Settings
- type SrcGenericFee
- func (*SrcGenericFee) Descriptor() ([]byte, []int)deprecated
- func (x *SrcGenericFee) GetAccount() string
- func (x *SrcGenericFee) GetComment() string
- func (x *SrcGenericFee) GetCreated() *timestamppb.Timestamp
- func (x *SrcGenericFee) GetFee() string
- func (x *SrcGenericFee) GetFeeCurrency() string
- func (x *SrcGenericFee) GetPlugin() string
- func (x *SrcGenericFee) GetPluginVersion() string
- func (x *SrcGenericFee) GetTs() *timestamppb.Timestamp
- func (x *SrcGenericFee) GetTxID() string
- func (x *SrcGenericFee) GetUpdated() *timestamppb.Timestamp
- func (*SrcGenericFee) ProtoMessage()
- func (x *SrcGenericFee) ProtoReflect() protoreflect.Message
- func (x *SrcGenericFee) Reset()
- func (x *SrcGenericFee) String() string
- type StreamRecordsJob
- func (*StreamRecordsJob) Descriptor() ([]byte, []int)deprecated
- func (x *StreamRecordsJob) GetFrom() *timestamppb.Timestamp
- func (x *StreamRecordsJob) GetPlugin() string
- func (x *StreamRecordsJob) GetPluginVersion() string
- func (x *StreamRecordsJob) GetTo() *timestamppb.Timestamp
- func (*StreamRecordsJob) ProtoMessage()
- func (x *StreamRecordsJob) ProtoReflect() protoreflect.Message
- func (x *StreamRecordsJob) Reset()
- func (x *StreamRecordsJob) String() string
- type Trade
- func (*Trade) Descriptor() ([]byte, []int)deprecated
- func (x *Trade) GetAccount() string
- func (x *Trade) GetAction() TxAction
- func (x *Trade) GetAmount() string
- func (x *Trade) GetAsset() string
- func (x *Trade) GetAssetDecimals() int32
- func (x *Trade) GetComment() string
- func (x *Trade) GetCreated() *timestamppb.Timestamp
- func (x *Trade) GetFee() string
- func (x *Trade) GetFeeC() string
- func (x *Trade) GetFeeConvertedBy() string
- func (x *Trade) GetFeeCurrency() string
- func (x *Trade) GetFeeDecimals() int32
- func (x *Trade) GetFeePriceC() string
- func (x *Trade) GetOrderID() string
- func (x *Trade) GetOrderType() OrderType
- func (x *Trade) GetPlugin() string
- func (x *Trade) GetPluginVersion() string
- func (x *Trade) GetPrice() string
- func (x *Trade) GetPriceC() string
- func (x *Trade) GetPriceConvertedBy() string
- func (x *Trade) GetProps() *TradeProps
- func (x *Trade) GetQuote() string
- func (x *Trade) GetQuoteDecimals() int32
- func (x *Trade) GetQuoteFee() string
- func (x *Trade) GetQuoteFeeC() string
- func (x *Trade) GetQuoteFeeConvertedBy() string
- func (x *Trade) GetQuoteFeeCurrency() string
- func (x *Trade) GetQuoteFeeDecimals() int32
- func (x *Trade) GetQuoteFeePriceC() string
- func (x *Trade) GetQuotePriceC() string
- func (x *Trade) GetQuotePriceConvertedBy() string
- func (x *Trade) GetTicker() string
- func (x *Trade) GetTs() *timestamppb.Timestamp
- func (x *Trade) GetTxID() string
- func (x *Trade) GetUpdated() *timestamppb.Timestamp
- func (x *Trade) GetValue() string
- func (x *Trade) GetValueC() string
- func (*Trade) ProtoMessage()
- func (x *Trade) ProtoReflect() protoreflect.Message
- func (x *Trade) Reset()
- func (x *Trade) String() string
- type TradeConversionJob
- func (*TradeConversionJob) Descriptor() ([]byte, []int)deprecated
- func (x *TradeConversionJob) GetTargetCurrency() string
- func (x *TradeConversionJob) GetTrade() *Trade
- func (*TradeConversionJob) ProtoMessage()
- func (x *TradeConversionJob) ProtoReflect() protoreflect.Message
- func (x *TradeConversionJob) Reset()
- func (x *TradeConversionJob) String() string
- type TradeProps
- func (*TradeProps) Descriptor() ([]byte, []int)deprecated
- func (x *TradeProps) GetIsDerivative() bool
- func (x *TradeProps) GetIsMarginTrade() bool
- func (x *TradeProps) GetIsPhysical() bool
- func (*TradeProps) ProtoMessage()
- func (x *TradeProps) ProtoReflect() protoreflect.Message
- func (x *TradeProps) Reset()
- func (x *TradeProps) String() string
- type Transfer
- func (*Transfer) Descriptor() ([]byte, []int)deprecated
- func (x *Transfer) GetAccount() string
- func (x *Transfer) GetAction() TransferAction
- func (x *Transfer) GetAmount() string
- func (x *Transfer) GetAsset() string
- func (x *Transfer) GetAssetDecimals() int32
- func (x *Transfer) GetComment() string
- func (x *Transfer) GetCreated() *timestamppb.Timestamp
- func (x *Transfer) GetDestination() string
- func (x *Transfer) GetFee() string
- func (x *Transfer) GetFeeC() string
- func (x *Transfer) GetFeeConvertedBy() string
- func (x *Transfer) GetFeeCurrency() string
- func (x *Transfer) GetFeeDecimals() int32
- func (x *Transfer) GetFeePriceC() string
- func (x *Transfer) GetPlugin() string
- func (x *Transfer) GetPluginVersion() string
- func (x *Transfer) GetSource() string
- func (x *Transfer) GetTs() *timestamppb.Timestamp
- func (x *Transfer) GetTxID() string
- func (x *Transfer) GetUpdated() *timestamppb.Timestamp
- func (*Transfer) ProtoMessage()
- func (x *Transfer) ProtoReflect() protoreflect.Message
- func (x *Transfer) Reset()
- func (x *Transfer) String() string
- type TransferAction
- func (TransferAction) Descriptor() protoreflect.EnumDescriptor
- func (x TransferAction) Enum() *TransferAction
- func (TransferAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransferAction) Number() protoreflect.EnumNumber
- func (x TransferAction) String() string
- func (TransferAction) Type() protoreflect.EnumType
- type TransferConversionJob
- func (*TransferConversionJob) Descriptor() ([]byte, []int)deprecated
- func (x *TransferConversionJob) GetTargetCurrency() string
- func (x *TransferConversionJob) GetTransfer() *Transfer
- func (*TransferConversionJob) ProtoMessage()
- func (x *TransferConversionJob) ProtoReflect() protoreflect.Message
- func (x *TransferConversionJob) Reset()
- func (x *TransferConversionJob) String() string
- type TxAction
- type TxUpdate
- type UnimplementedFTaxesServer
- func (UnimplementedFTaxesServer) AppLog(context.Context, *AppLogMsg) (*emptypb.Empty, error)
- func (UnimplementedFTaxesServer) GetSettings(context.Context, *emptypb.Empty) (*Settings, error)
- func (UnimplementedFTaxesServer) PluginHeartbeat(context.Context, *PluginInfo) (*emptypb.Empty, error)
- func (UnimplementedFTaxesServer) ShowJobProgress(context.Context, *JobProgress) (*emptypb.Empty, error)
- func (UnimplementedFTaxesServer) StreamRecords(*StreamRecordsJob, FTaxes_StreamRecordsServer) error
- func (UnimplementedFTaxesServer) SubmitGenericFee(context.Context, *SrcGenericFee) (*emptypb.Empty, error)
- func (UnimplementedFTaxesServer) SubmitTrade(context.Context, *Trade) (*emptypb.Empty, error)
- func (UnimplementedFTaxesServer) SubmitTransfer(context.Context, *Transfer) (*emptypb.Empty, error)
- type UnimplementedPluginCtlServer
- type UnsafeFTaxesServer
- type UnsafePluginCtlServer
Constants ¶
const ( FTaxes_SubmitTrade_FullMethodName = "/FTaxesGrpc.FTaxes/SubmitTrade" FTaxes_SubmitTransfer_FullMethodName = "/FTaxesGrpc.FTaxes/SubmitTransfer" FTaxes_SubmitGenericFee_FullMethodName = "/FTaxesGrpc.FTaxes/SubmitGenericFee" FTaxes_ShowJobProgress_FullMethodName = "/FTaxesGrpc.FTaxes/ShowJobProgress" FTaxes_GetSettings_FullMethodName = "/FTaxesGrpc.FTaxes/GetSettings" FTaxes_AppLog_FullMethodName = "/FTaxesGrpc.FTaxes/AppLog" FTaxes_StreamRecords_FullMethodName = "/FTaxesGrpc.FTaxes/StreamRecords" FTaxes_PluginHeartbeat_FullMethodName = "/FTaxesGrpc.FTaxes/PluginHeartbeat" )
const ( PluginCtl_ConvertPricesInTrade_FullMethodName = "/FTaxesGrpc.PluginCtl/ConvertPricesInTrade" PluginCtl_ConvertPricesInTransfer_FullMethodName = "/FTaxesGrpc.PluginCtl/ConvertPricesInTransfer" )
Variables ¶
var ( TxAction_name = map[int32]string{ 0: "BUY", 1: "SELL", } TxAction_value = map[string]int32{ "BUY": 0, "SELL": 1, } )
Enum value maps for TxAction.
var ( TransferAction_name = map[int32]string{ 0: "DEPOSIT", 1: "WITHDRAWAL", } TransferAction_value = map[string]int32{ "DEPOSIT": 0, "WITHDRAWAL": 1, } )
Enum value maps for TransferAction.
var ( OrderType_name = map[int32]string{ 0: "TAKER", 1: "MAKER", } OrderType_value = map[string]int32{ "TAKER": 0, "MAKER": 1, } )
Enum value maps for OrderType.
var ( LogLevel_name = map[int32]string{ 0: "INFO", 1: "WARN", 2: "ERR", } LogLevel_value = map[string]int32{ "INFO": 0, "WARN": 1, "ERR": 2, } )
Enum value maps for LogLevel.
var FTaxes_ServiceDesc = grpc.ServiceDesc{ ServiceName: "FTaxesGrpc.FTaxes", HandlerType: (*FTaxesServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SubmitTrade", Handler: _FTaxes_SubmitTrade_Handler, }, { MethodName: "SubmitTransfer", Handler: _FTaxes_SubmitTransfer_Handler, }, { MethodName: "SubmitGenericFee", Handler: _FTaxes_SubmitGenericFee_Handler, }, { MethodName: "ShowJobProgress", Handler: _FTaxes_ShowJobProgress_Handler, }, { MethodName: "GetSettings", Handler: _FTaxes_GetSettings_Handler, }, { MethodName: "AppLog", Handler: _FTaxes_AppLog_Handler, }, { MethodName: "PluginHeartbeat", Handler: _FTaxes_PluginHeartbeat_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "StreamRecords", Handler: _FTaxes_StreamRecords_Handler, ServerStreams: true, }, }, Metadata: "f-taxes.proto", }
FTaxes_ServiceDesc is the grpc.ServiceDesc for FTaxes service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_f_taxes_proto protoreflect.FileDescriptor
var PluginCtl_ServiceDesc = grpc.ServiceDesc{ ServiceName: "FTaxesGrpc.PluginCtl", HandlerType: (*PluginCtlServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ConvertPricesInTrade", Handler: _PluginCtl_ConvertPricesInTrade_Handler, }, { MethodName: "ConvertPricesInTransfer", Handler: _PluginCtl_ConvertPricesInTransfer_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "f-taxes.proto", }
PluginCtl_ServiceDesc is the grpc.ServiceDesc for PluginCtl service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterFTaxesServer ¶
func RegisterFTaxesServer(s grpc.ServiceRegistrar, srv FTaxesServer)
func RegisterPluginCtlServer ¶
func RegisterPluginCtlServer(s grpc.ServiceRegistrar, srv PluginCtlServer)
Types ¶
type AppLogMsg ¶
type AppLogMsg struct { Level LogLevel `protobuf:"varint,1,opt,name=Level,proto3,enum=FTaxesGrpc.LogLevel" json:"Level,omitempty"` Message string `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"` Tags []string `protobuf:"bytes,3,rep,name=Tags,proto3" json:"Tags,omitempty"` // contains filtered or unexported fields }
func (*AppLogMsg) Descriptor
deprecated
func (*AppLogMsg) GetMessage ¶
func (*AppLogMsg) ProtoMessage ¶
func (*AppLogMsg) ProtoMessage()
func (*AppLogMsg) ProtoReflect ¶
func (x *AppLogMsg) ProtoReflect() protoreflect.Message
type FTaxesClient ¶
type FTaxesClient interface { SubmitTrade(ctx context.Context, in *Trade, opts ...grpc.CallOption) (*emptypb.Empty, error) SubmitTransfer(ctx context.Context, in *Transfer, opts ...grpc.CallOption) (*emptypb.Empty, error) SubmitGenericFee(ctx context.Context, in *SrcGenericFee, opts ...grpc.CallOption) (*emptypb.Empty, error) ShowJobProgress(ctx context.Context, in *JobProgress, opts ...grpc.CallOption) (*emptypb.Empty, error) GetSettings(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Settings, error) AppLog(ctx context.Context, in *AppLogMsg, opts ...grpc.CallOption) (*emptypb.Empty, error) StreamRecords(ctx context.Context, in *StreamRecordsJob, opts ...grpc.CallOption) (FTaxes_StreamRecordsClient, error) PluginHeartbeat(ctx context.Context, in *PluginInfo, opts ...grpc.CallOption) (*emptypb.Empty, error) }
FTaxesClient is the client API for FTaxes 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 NewFTaxesClient ¶
func NewFTaxesClient(cc grpc.ClientConnInterface) FTaxesClient
type FTaxesServer ¶
type FTaxesServer interface { SubmitTrade(context.Context, *Trade) (*emptypb.Empty, error) SubmitTransfer(context.Context, *Transfer) (*emptypb.Empty, error) SubmitGenericFee(context.Context, *SrcGenericFee) (*emptypb.Empty, error) ShowJobProgress(context.Context, *JobProgress) (*emptypb.Empty, error) GetSettings(context.Context, *emptypb.Empty) (*Settings, error) AppLog(context.Context, *AppLogMsg) (*emptypb.Empty, error) StreamRecords(*StreamRecordsJob, FTaxes_StreamRecordsServer) error PluginHeartbeat(context.Context, *PluginInfo) (*emptypb.Empty, error) // contains filtered or unexported methods }
FTaxesServer is the server API for FTaxes service. All implementations must embed UnimplementedFTaxesServer for forward compatibility
type FTaxes_StreamRecordsClient ¶
type FTaxes_StreamRecordsClient interface { Recv() (*Record, error) grpc.ClientStream }
type FTaxes_StreamRecordsServer ¶
type FTaxes_StreamRecordsServer interface { Send(*Record) error grpc.ServerStream }
type JobProgress ¶
type JobProgress struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Label string `protobuf:"bytes,2,opt,name=Label,proto3" json:"Label,omitempty"` Progress string `protobuf:"bytes,3,opt,name=Progress,proto3" json:"Progress,omitempty"` Plugin string `protobuf:"bytes,4,opt,name=Plugin,proto3" json:"Plugin,omitempty"` // contains filtered or unexported fields }
func (*JobProgress) Descriptor
deprecated
func (*JobProgress) Descriptor() ([]byte, []int)
Deprecated: Use JobProgress.ProtoReflect.Descriptor instead.
func (*JobProgress) GetID ¶
func (x *JobProgress) GetID() string
func (*JobProgress) GetLabel ¶
func (x *JobProgress) GetLabel() string
func (*JobProgress) GetPlugin ¶
func (x *JobProgress) GetPlugin() string
func (*JobProgress) GetProgress ¶
func (x *JobProgress) GetProgress() string
func (*JobProgress) ProtoMessage ¶
func (*JobProgress) ProtoMessage()
func (*JobProgress) ProtoReflect ¶
func (x *JobProgress) ProtoReflect() protoreflect.Message
func (*JobProgress) Reset ¶
func (x *JobProgress) Reset()
func (*JobProgress) String ¶
func (x *JobProgress) String() string
type LogLevel ¶
type LogLevel int32
func (LogLevel) Descriptor ¶
func (LogLevel) Descriptor() protoreflect.EnumDescriptor
func (LogLevel) EnumDescriptor
deprecated
func (LogLevel) Number ¶
func (x LogLevel) Number() protoreflect.EnumNumber
func (LogLevel) Type ¶
func (LogLevel) Type() protoreflect.EnumType
type OrderType ¶
type OrderType int32
func (OrderType) Descriptor ¶
func (OrderType) Descriptor() protoreflect.EnumDescriptor
func (OrderType) EnumDescriptor
deprecated
func (OrderType) Number ¶
func (x OrderType) Number() protoreflect.EnumNumber
func (OrderType) Type ¶
func (OrderType) Type() protoreflect.EnumType
type PluginCtlClient ¶
type PluginCtlClient interface { ConvertPricesInTrade(ctx context.Context, in *TradeConversionJob, opts ...grpc.CallOption) (*Trade, error) ConvertPricesInTransfer(ctx context.Context, in *TransferConversionJob, opts ...grpc.CallOption) (*Transfer, error) }
PluginCtlClient is the client API for PluginCtl 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 NewPluginCtlClient ¶
func NewPluginCtlClient(cc grpc.ClientConnInterface) PluginCtlClient
type PluginCtlServer ¶
type PluginCtlServer interface { ConvertPricesInTrade(context.Context, *TradeConversionJob) (*Trade, error) ConvertPricesInTransfer(context.Context, *TransferConversionJob) (*Transfer, error) // contains filtered or unexported methods }
PluginCtlServer is the server API for PluginCtl service. All implementations must embed UnimplementedPluginCtlServer for forward compatibility
type PluginInfo ¶
type PluginInfo struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Version string `protobuf:"bytes,2,opt,name=Version,proto3" json:"Version,omitempty"` HasCtlServer bool `protobuf:"varint,3,opt,name=HasCtlServer,proto3" json:"HasCtlServer,omitempty"` // contains filtered or unexported fields }
func (*PluginInfo) Descriptor
deprecated
func (*PluginInfo) Descriptor() ([]byte, []int)
Deprecated: Use PluginInfo.ProtoReflect.Descriptor instead.
func (*PluginInfo) GetHasCtlServer ¶
func (x *PluginInfo) GetHasCtlServer() bool
func (*PluginInfo) GetID ¶
func (x *PluginInfo) GetID() string
func (*PluginInfo) GetVersion ¶
func (x *PluginInfo) GetVersion() string
func (*PluginInfo) ProtoMessage ¶
func (*PluginInfo) ProtoMessage()
func (*PluginInfo) ProtoReflect ¶
func (x *PluginInfo) ProtoReflect() protoreflect.Message
func (*PluginInfo) Reset ¶
func (x *PluginInfo) Reset()
func (*PluginInfo) String ¶
func (x *PluginInfo) String() string
type Record ¶
type Record struct { Trade *Trade `protobuf:"bytes,1,opt,name=Trade,proto3" json:"Trade,omitempty"` Transfer *Transfer `protobuf:"bytes,2,opt,name=Transfer,proto3" json:"Transfer,omitempty"` // contains filtered or unexported fields }
func (*Record) Descriptor
deprecated
func (*Record) GetTransfer ¶
func (*Record) ProtoMessage ¶
func (*Record) ProtoMessage()
func (*Record) ProtoReflect ¶
func (x *Record) ProtoReflect() protoreflect.Message
type Settings ¶
type Settings struct { DateTimeFormat string `protobuf:"bytes,1,opt,name=DateTimeFormat,proto3" json:"DateTimeFormat,omitempty"` TimeZone string `protobuf:"bytes,2,opt,name=TimeZone,proto3" json:"TimeZone,omitempty"` // contains filtered or unexported fields }
func (*Settings) Descriptor
deprecated
func (*Settings) GetDateTimeFormat ¶
func (*Settings) GetTimeZone ¶
func (*Settings) ProtoMessage ¶
func (*Settings) ProtoMessage()
func (*Settings) ProtoReflect ¶
func (x *Settings) ProtoReflect() protoreflect.Message
type SrcGenericFee ¶
type SrcGenericFee struct { TxID string `protobuf:"bytes,1,opt,name=TxID,proto3" json:"TxID,omitempty"` Ts *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=Ts,proto3" json:"Ts,omitempty"` Account string `protobuf:"bytes,3,opt,name=Account,proto3" json:"Account,omitempty"` Comment string `protobuf:"bytes,4,opt,name=Comment,proto3" json:"Comment,omitempty"` Fee string `protobuf:"bytes,3000,opt,name=Fee,proto3" json:"Fee,omitempty"` FeeCurrency string `protobuf:"bytes,3001,opt,name=FeeCurrency,proto3" json:"FeeCurrency,omitempty"` Plugin string `protobuf:"bytes,9000,opt,name=Plugin,proto3" json:"Plugin,omitempty"` PluginVersion string `protobuf:"bytes,9001,opt,name=PluginVersion,proto3" json:"PluginVersion,omitempty"` Created *timestamppb.Timestamp `protobuf:"bytes,9002,opt,name=Created,proto3" json:"Created,omitempty"` Updated *timestamppb.Timestamp `protobuf:"bytes,9003,opt,name=Updated,proto3" json:"Updated,omitempty"` // contains filtered or unexported fields }
func (*SrcGenericFee) Descriptor
deprecated
func (*SrcGenericFee) Descriptor() ([]byte, []int)
Deprecated: Use SrcGenericFee.ProtoReflect.Descriptor instead.
func (*SrcGenericFee) GetAccount ¶
func (x *SrcGenericFee) GetAccount() string
func (*SrcGenericFee) GetComment ¶
func (x *SrcGenericFee) GetComment() string
func (*SrcGenericFee) GetCreated ¶
func (x *SrcGenericFee) GetCreated() *timestamppb.Timestamp
func (*SrcGenericFee) GetFee ¶
func (x *SrcGenericFee) GetFee() string
func (*SrcGenericFee) GetFeeCurrency ¶
func (x *SrcGenericFee) GetFeeCurrency() string
func (*SrcGenericFee) GetPlugin ¶
func (x *SrcGenericFee) GetPlugin() string
func (*SrcGenericFee) GetPluginVersion ¶
func (x *SrcGenericFee) GetPluginVersion() string
func (*SrcGenericFee) GetTs ¶
func (x *SrcGenericFee) GetTs() *timestamppb.Timestamp
func (*SrcGenericFee) GetTxID ¶
func (x *SrcGenericFee) GetTxID() string
func (*SrcGenericFee) GetUpdated ¶
func (x *SrcGenericFee) GetUpdated() *timestamppb.Timestamp
func (*SrcGenericFee) ProtoMessage ¶
func (*SrcGenericFee) ProtoMessage()
func (*SrcGenericFee) ProtoReflect ¶
func (x *SrcGenericFee) ProtoReflect() protoreflect.Message
func (*SrcGenericFee) Reset ¶
func (x *SrcGenericFee) Reset()
func (*SrcGenericFee) String ¶
func (x *SrcGenericFee) String() string
type StreamRecordsJob ¶
type StreamRecordsJob struct { From *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=From,proto3" json:"From,omitempty"` To *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=To,proto3" json:"To,omitempty"` Plugin string `protobuf:"bytes,90,opt,name=Plugin,proto3" json:"Plugin,omitempty"` PluginVersion string `protobuf:"bytes,91,opt,name=PluginVersion,proto3" json:"PluginVersion,omitempty"` // contains filtered or unexported fields }
func (*StreamRecordsJob) Descriptor
deprecated
func (*StreamRecordsJob) Descriptor() ([]byte, []int)
Deprecated: Use StreamRecordsJob.ProtoReflect.Descriptor instead.
func (*StreamRecordsJob) GetFrom ¶
func (x *StreamRecordsJob) GetFrom() *timestamppb.Timestamp
func (*StreamRecordsJob) GetPlugin ¶
func (x *StreamRecordsJob) GetPlugin() string
func (*StreamRecordsJob) GetPluginVersion ¶
func (x *StreamRecordsJob) GetPluginVersion() string
func (*StreamRecordsJob) GetTo ¶
func (x *StreamRecordsJob) GetTo() *timestamppb.Timestamp
func (*StreamRecordsJob) ProtoMessage ¶
func (*StreamRecordsJob) ProtoMessage()
func (*StreamRecordsJob) ProtoReflect ¶
func (x *StreamRecordsJob) ProtoReflect() protoreflect.Message
func (*StreamRecordsJob) Reset ¶
func (x *StreamRecordsJob) Reset()
func (*StreamRecordsJob) String ¶
func (x *StreamRecordsJob) String() string
type Trade ¶
type Trade struct { TxID string `protobuf:"bytes,1,opt,name=TxID,proto3" json:"TxID,omitempty"` Ts *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=Ts,proto3" json:"Ts,omitempty"` Account string `protobuf:"bytes,3,opt,name=Account,proto3" json:"Account,omitempty"` Comment string `protobuf:"bytes,4,opt,name=Comment,proto3" json:"Comment,omitempty"` Ticker string `protobuf:"bytes,1000,opt,name=Ticker,proto3" json:"Ticker,omitempty"` Quote string `protobuf:"bytes,1001,opt,name=Quote,proto3" json:"Quote,omitempty"` Asset string `protobuf:"bytes,1002,opt,name=Asset,proto3" json:"Asset,omitempty"` Price string `protobuf:"bytes,2000,opt,name=Price,proto3" json:"Price,omitempty"` PriceC string `protobuf:"bytes,2001,opt,name=PriceC,proto3" json:"PriceC,omitempty"` QuotePriceC string `protobuf:"bytes,2002,opt,name=QuotePriceC,proto3" json:"QuotePriceC,omitempty"` PriceConvertedBy string `protobuf:"bytes,2003,opt,name=PriceConvertedBy,proto3" json:"PriceConvertedBy,omitempty"` QuotePriceConvertedBy string `protobuf:"bytes,2004,opt,name=QuotePriceConvertedBy,proto3" json:"QuotePriceConvertedBy,omitempty"` Amount string `protobuf:"bytes,2005,opt,name=Amount,proto3" json:"Amount,omitempty"` Value string `protobuf:"bytes,2006,opt,name=Value,proto3" json:"Value,omitempty"` ValueC string `protobuf:"bytes,2007,opt,name=ValueC,proto3" json:"ValueC,omitempty"` Action TxAction `protobuf:"varint,2008,opt,name=Action,proto3,enum=FTaxesGrpc.TxAction" json:"Action,omitempty"` OrderType OrderType `protobuf:"varint,2009,opt,name=OrderType,proto3,enum=FTaxesGrpc.OrderType" json:"OrderType,omitempty"` OrderID string `protobuf:"bytes,2010,opt,name=OrderID,proto3" json:"OrderID,omitempty"` Fee string `protobuf:"bytes,3000,opt,name=Fee,proto3" json:"Fee,omitempty"` FeeC string `protobuf:"bytes,3001,opt,name=FeeC,proto3" json:"FeeC,omitempty"` FeeConvertedBy string `protobuf:"bytes,3002,opt,name=FeeConvertedBy,proto3" json:"FeeConvertedBy,omitempty"` FeeCurrency string `protobuf:"bytes,3003,opt,name=FeeCurrency,proto3" json:"FeeCurrency,omitempty"` FeePriceC string `protobuf:"bytes,3004,opt,name=FeePriceC,proto3" json:"FeePriceC,omitempty"` QuoteFee string `protobuf:"bytes,3100,opt,name=QuoteFee,proto3" json:"QuoteFee,omitempty"` QuoteFeeC string `protobuf:"bytes,3101,opt,name=QuoteFeeC,proto3" json:"QuoteFeeC,omitempty"` QuoteFeeConvertedBy string `protobuf:"bytes,3102,opt,name=QuoteFeeConvertedBy,proto3" json:"QuoteFeeConvertedBy,omitempty"` QuoteFeeCurrency string `protobuf:"bytes,3103,opt,name=QuoteFeeCurrency,proto3" json:"QuoteFeeCurrency,omitempty"` QuoteFeePriceC string `protobuf:"bytes,3104,opt,name=QuoteFeePriceC,proto3" json:"QuoteFeePriceC,omitempty"` AssetDecimals int32 `protobuf:"varint,3200,opt,name=AssetDecimals,proto3" json:"AssetDecimals,omitempty"` QuoteDecimals int32 `protobuf:"varint,3201,opt,name=QuoteDecimals,proto3" json:"QuoteDecimals,omitempty"` FeeDecimals int32 `protobuf:"varint,3202,opt,name=FeeDecimals,proto3" json:"FeeDecimals,omitempty"` QuoteFeeDecimals int32 `protobuf:"varint,3203,opt,name=QuoteFeeDecimals,proto3" json:"QuoteFeeDecimals,omitempty"` Props *TradeProps `protobuf:"bytes,4000,opt,name=Props,proto3" json:"Props,omitempty"` Plugin string `protobuf:"bytes,9000,opt,name=Plugin,proto3" json:"Plugin,omitempty"` PluginVersion string `protobuf:"bytes,9001,opt,name=PluginVersion,proto3" json:"PluginVersion,omitempty"` Created *timestamppb.Timestamp `protobuf:"bytes,9002,opt,name=Created,proto3" json:"Created,omitempty"` Updated *timestamppb.Timestamp `protobuf:"bytes,9003,opt,name=Updated,proto3" json:"Updated,omitempty"` // contains filtered or unexported fields }
func (*Trade) Descriptor
deprecated
func (*Trade) GetAccount ¶
func (*Trade) GetAssetDecimals ¶
func (*Trade) GetComment ¶
func (*Trade) GetCreated ¶
func (x *Trade) GetCreated() *timestamppb.Timestamp
func (*Trade) GetFeeConvertedBy ¶
func (*Trade) GetFeeCurrency ¶
func (*Trade) GetFeeDecimals ¶
func (*Trade) GetFeePriceC ¶
func (*Trade) GetOrderID ¶
func (*Trade) GetOrderType ¶
func (*Trade) GetPluginVersion ¶
func (*Trade) GetPriceConvertedBy ¶
func (*Trade) GetProps ¶
func (x *Trade) GetProps() *TradeProps
func (*Trade) GetQuoteDecimals ¶
func (*Trade) GetQuoteFee ¶
func (*Trade) GetQuoteFeeC ¶
func (*Trade) GetQuoteFeeConvertedBy ¶
func (*Trade) GetQuoteFeeCurrency ¶
func (*Trade) GetQuoteFeeDecimals ¶
func (*Trade) GetQuoteFeePriceC ¶
func (*Trade) GetQuotePriceC ¶
func (*Trade) GetQuotePriceConvertedBy ¶
func (*Trade) GetTs ¶
func (x *Trade) GetTs() *timestamppb.Timestamp
func (*Trade) GetUpdated ¶
func (x *Trade) GetUpdated() *timestamppb.Timestamp
func (*Trade) ProtoMessage ¶
func (*Trade) ProtoMessage()
func (*Trade) ProtoReflect ¶
func (x *Trade) ProtoReflect() protoreflect.Message
type TradeConversionJob ¶
type TradeConversionJob struct { Trade *Trade `protobuf:"bytes,1,opt,name=Trade,proto3" json:"Trade,omitempty"` TargetCurrency string `protobuf:"bytes,2,opt,name=TargetCurrency,proto3" json:"TargetCurrency,omitempty"` // contains filtered or unexported fields }
func (*TradeConversionJob) Descriptor
deprecated
func (*TradeConversionJob) Descriptor() ([]byte, []int)
Deprecated: Use TradeConversionJob.ProtoReflect.Descriptor instead.
func (*TradeConversionJob) GetTargetCurrency ¶
func (x *TradeConversionJob) GetTargetCurrency() string
func (*TradeConversionJob) GetTrade ¶
func (x *TradeConversionJob) GetTrade() *Trade
func (*TradeConversionJob) ProtoMessage ¶
func (*TradeConversionJob) ProtoMessage()
func (*TradeConversionJob) ProtoReflect ¶
func (x *TradeConversionJob) ProtoReflect() protoreflect.Message
func (*TradeConversionJob) Reset ¶
func (x *TradeConversionJob) Reset()
func (*TradeConversionJob) String ¶
func (x *TradeConversionJob) String() string
type TradeProps ¶
type TradeProps struct { IsMarginTrade bool `protobuf:"varint,1,opt,name=IsMarginTrade,proto3" json:"IsMarginTrade,omitempty"` IsDerivative bool `protobuf:"varint,2,opt,name=IsDerivative,proto3" json:"IsDerivative,omitempty"` IsPhysical bool `protobuf:"varint,3,opt,name=IsPhysical,proto3" json:"IsPhysical,omitempty"` // contains filtered or unexported fields }
func (*TradeProps) Descriptor
deprecated
func (*TradeProps) Descriptor() ([]byte, []int)
Deprecated: Use TradeProps.ProtoReflect.Descriptor instead.
func (*TradeProps) GetIsDerivative ¶
func (x *TradeProps) GetIsDerivative() bool
func (*TradeProps) GetIsMarginTrade ¶
func (x *TradeProps) GetIsMarginTrade() bool
func (*TradeProps) GetIsPhysical ¶
func (x *TradeProps) GetIsPhysical() bool
func (*TradeProps) ProtoMessage ¶
func (*TradeProps) ProtoMessage()
func (*TradeProps) ProtoReflect ¶
func (x *TradeProps) ProtoReflect() protoreflect.Message
func (*TradeProps) Reset ¶
func (x *TradeProps) Reset()
func (*TradeProps) String ¶
func (x *TradeProps) String() string
type Transfer ¶
type Transfer struct { TxID string `protobuf:"bytes,1,opt,name=TxID,proto3" json:"TxID,omitempty"` Ts *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=Ts,proto3" json:"Ts,omitempty"` Account string `protobuf:"bytes,3,opt,name=Account,proto3" json:"Account,omitempty"` Source string `protobuf:"bytes,4,opt,name=Source,proto3" json:"Source,omitempty"` Destination string `protobuf:"bytes,5,opt,name=Destination,proto3" json:"Destination,omitempty"` Comment string `protobuf:"bytes,6,opt,name=Comment,proto3" json:"Comment,omitempty"` Asset string `protobuf:"bytes,1000,opt,name=Asset,proto3" json:"Asset,omitempty"` Amount string `protobuf:"bytes,2001,opt,name=Amount,proto3" json:"Amount,omitempty"` Action TransferAction `protobuf:"varint,2000,opt,name=Action,proto3,enum=FTaxesGrpc.TransferAction" json:"Action,omitempty"` Fee string `protobuf:"bytes,3000,opt,name=Fee,proto3" json:"Fee,omitempty"` FeeC string `protobuf:"bytes,3001,opt,name=FeeC,proto3" json:"FeeC,omitempty"` FeeConvertedBy string `protobuf:"bytes,3002,opt,name=FeeConvertedBy,proto3" json:"FeeConvertedBy,omitempty"` FeeCurrency string `protobuf:"bytes,3003,opt,name=FeeCurrency,proto3" json:"FeeCurrency,omitempty"` FeePriceC string `protobuf:"bytes,3004,opt,name=FeePriceC,proto3" json:"FeePriceC,omitempty"` AssetDecimals int32 `protobuf:"varint,4001,opt,name=AssetDecimals,proto3" json:"AssetDecimals,omitempty"` FeeDecimals int32 `protobuf:"varint,4002,opt,name=FeeDecimals,proto3" json:"FeeDecimals,omitempty"` Plugin string `protobuf:"bytes,9000,opt,name=Plugin,proto3" json:"Plugin,omitempty"` PluginVersion string `protobuf:"bytes,9001,opt,name=PluginVersion,proto3" json:"PluginVersion,omitempty"` Created *timestamppb.Timestamp `protobuf:"bytes,9002,opt,name=Created,proto3" json:"Created,omitempty"` Updated *timestamppb.Timestamp `protobuf:"bytes,9003,opt,name=Updated,proto3" json:"Updated,omitempty"` // contains filtered or unexported fields }
func (*Transfer) Descriptor
deprecated
func (*Transfer) GetAccount ¶
func (*Transfer) GetAction ¶
func (x *Transfer) GetAction() TransferAction
func (*Transfer) GetAssetDecimals ¶
func (*Transfer) GetComment ¶
func (*Transfer) GetCreated ¶
func (x *Transfer) GetCreated() *timestamppb.Timestamp
func (*Transfer) GetDestination ¶
func (*Transfer) GetFeeConvertedBy ¶
func (*Transfer) GetFeeCurrency ¶
func (*Transfer) GetFeeDecimals ¶
func (*Transfer) GetFeePriceC ¶
func (*Transfer) GetPluginVersion ¶
func (*Transfer) GetTs ¶
func (x *Transfer) GetTs() *timestamppb.Timestamp
func (*Transfer) GetUpdated ¶
func (x *Transfer) GetUpdated() *timestamppb.Timestamp
func (*Transfer) ProtoMessage ¶
func (*Transfer) ProtoMessage()
func (*Transfer) ProtoReflect ¶
func (x *Transfer) ProtoReflect() protoreflect.Message
type TransferAction ¶
type TransferAction int32
const ( TransferAction_DEPOSIT TransferAction = 0 TransferAction_WITHDRAWAL TransferAction = 1 )
func (TransferAction) Descriptor ¶
func (TransferAction) Descriptor() protoreflect.EnumDescriptor
func (TransferAction) Enum ¶
func (x TransferAction) Enum() *TransferAction
func (TransferAction) EnumDescriptor
deprecated
func (TransferAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use TransferAction.Descriptor instead.
func (TransferAction) Number ¶
func (x TransferAction) Number() protoreflect.EnumNumber
func (TransferAction) String ¶
func (x TransferAction) String() string
func (TransferAction) Type ¶
func (TransferAction) Type() protoreflect.EnumType
type TransferConversionJob ¶
type TransferConversionJob struct { Transfer *Transfer `protobuf:"bytes,1,opt,name=Transfer,proto3" json:"Transfer,omitempty"` TargetCurrency string `protobuf:"bytes,2,opt,name=TargetCurrency,proto3" json:"TargetCurrency,omitempty"` // contains filtered or unexported fields }
func (*TransferConversionJob) Descriptor
deprecated
func (*TransferConversionJob) Descriptor() ([]byte, []int)
Deprecated: Use TransferConversionJob.ProtoReflect.Descriptor instead.
func (*TransferConversionJob) GetTargetCurrency ¶
func (x *TransferConversionJob) GetTargetCurrency() string
func (*TransferConversionJob) GetTransfer ¶
func (x *TransferConversionJob) GetTransfer() *Transfer
func (*TransferConversionJob) ProtoMessage ¶
func (*TransferConversionJob) ProtoMessage()
func (*TransferConversionJob) ProtoReflect ¶
func (x *TransferConversionJob) ProtoReflect() protoreflect.Message
func (*TransferConversionJob) Reset ¶
func (x *TransferConversionJob) Reset()
func (*TransferConversionJob) String ¶
func (x *TransferConversionJob) String() string
type TxAction ¶
type TxAction int32
func (TxAction) Descriptor ¶
func (TxAction) Descriptor() protoreflect.EnumDescriptor
func (TxAction) EnumDescriptor
deprecated
func (TxAction) Number ¶
func (x TxAction) Number() protoreflect.EnumNumber
func (TxAction) Type ¶
func (TxAction) Type() protoreflect.EnumType
type TxUpdate ¶
type TxUpdate struct { Since *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=Since,proto3" json:"Since,omitempty"` // contains filtered or unexported fields }
func (*TxUpdate) Descriptor
deprecated
func (*TxUpdate) GetSince ¶
func (x *TxUpdate) GetSince() *timestamppb.Timestamp
func (*TxUpdate) ProtoMessage ¶
func (*TxUpdate) ProtoMessage()
func (*TxUpdate) ProtoReflect ¶
func (x *TxUpdate) ProtoReflect() protoreflect.Message
type UnimplementedFTaxesServer ¶
type UnimplementedFTaxesServer struct { }
UnimplementedFTaxesServer must be embedded to have forward compatible implementations.
func (UnimplementedFTaxesServer) GetSettings ¶
func (UnimplementedFTaxesServer) PluginHeartbeat ¶
func (UnimplementedFTaxesServer) PluginHeartbeat(context.Context, *PluginInfo) (*emptypb.Empty, error)
func (UnimplementedFTaxesServer) ShowJobProgress ¶
func (UnimplementedFTaxesServer) ShowJobProgress(context.Context, *JobProgress) (*emptypb.Empty, error)
func (UnimplementedFTaxesServer) StreamRecords ¶
func (UnimplementedFTaxesServer) StreamRecords(*StreamRecordsJob, FTaxes_StreamRecordsServer) error
func (UnimplementedFTaxesServer) SubmitGenericFee ¶
func (UnimplementedFTaxesServer) SubmitGenericFee(context.Context, *SrcGenericFee) (*emptypb.Empty, error)
func (UnimplementedFTaxesServer) SubmitTrade ¶
func (UnimplementedFTaxesServer) SubmitTransfer ¶
type UnimplementedPluginCtlServer ¶
type UnimplementedPluginCtlServer struct { }
UnimplementedPluginCtlServer must be embedded to have forward compatible implementations.
func (UnimplementedPluginCtlServer) ConvertPricesInTrade ¶
func (UnimplementedPluginCtlServer) ConvertPricesInTrade(context.Context, *TradeConversionJob) (*Trade, error)
func (UnimplementedPluginCtlServer) ConvertPricesInTransfer ¶
func (UnimplementedPluginCtlServer) ConvertPricesInTransfer(context.Context, *TransferConversionJob) (*Transfer, error)
type UnsafeFTaxesServer ¶
type UnsafeFTaxesServer interface {
// contains filtered or unexported methods
}
UnsafeFTaxesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FTaxesServer will result in compilation errors.
type UnsafePluginCtlServer ¶
type UnsafePluginCtlServer interface {
// contains filtered or unexported methods
}
UnsafePluginCtlServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PluginCtlServer will result in compilation errors.