mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-14 07:26:47 +00:00
* Migrated to goose & sqlboiler * create tests with sqlboiler * code clean up * Added gct -> sqlboiler config gen * dropped pgx support * dropped pgx support because who needs connection pools * reenable sqlite audit tests * first pass of migration changes * stuff is broken :D * sqlboiler :D * end of date commit * Added comments code clean up * revert go module files back to upstream * bug fix * pushed go.mod update to use correc goose version * renamed sqlite to sqlite3 for consistency across codebase and PR feedback changes * makefile updates * things are broken end of day commit * added postgresql test * use correct database name * travis fixes for env vars * travis fixes for env vars * test fixes * run migration on test setup * test adding postgres support to appveyor * Skip tests on appveyor due to issues with missing binaries * oh yeah i have to support windows don't i * bumped goose version up * add postgres to osx * fix travis config as osx does not support services move spin up to before_script * added PGDATA path fix * pass PG_DATA to pg_ctl * added initdb to before install * fixes to wording and bumps up goose version * who needs ssl anyway * moved ssl to correct section :D * bumped goose version up * unbreak travis * unbreak travis * fix if database is disabled in config * move strings to consts * converted more strings to const * improvements to sqlboiler mmodel gen * Added contrib\sqlboiler file * sqlboiler windows contrib fixes * bumped goose version up * :D whoops * further fixes to sql models * further fixes to sql models * database type fix for config gen * README update * go.mod clean up * added config details for appveyor * appveyor ordering fix * force psql9.6 * appveyor config changes * all the environmen vars * model changes for psql * model changes for psql * sqlite model fixes * attempt at osx fix * added error check for migration * typos and check against goose error instead of string :D * updated sqlboiler commit id * bump sqlboiler version again * set decimal package to @0bb1631 * readme and makefile updates * bump goose version update readme and add override flag to config gen * README typo fix and lowered inserts in test down to 20 as we are only testing that inserts work running 200 was unnecessary * added gctcli command for audit event * Added debug output toggle to config added both postgres & sqlite support to gctcli command * Wording changes on errors * set sqlite to 1 connection to stop locke database issues * Usage update for order * README updates with config examples * go.mod/sum tidy * removed lines in import second * removed lines in imports * convert local time to utc for database and display output * go mod clean up and error checking to time * renamed all packages to sqlite3 * added windows command output for sql model gen * time conversion fix * time conversion on gctcli
7234 lines
277 KiB
Go
7234 lines
277 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: rpc.proto
|
|
|
|
package gctrpc
|
|
|
|
import (
|
|
context "context"
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
grpc "google.golang.org/grpc"
|
|
math "math"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type GetInfoRequest struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetInfoRequest) Reset() { *m = GetInfoRequest{} }
|
|
func (m *GetInfoRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetInfoRequest) ProtoMessage() {}
|
|
func (*GetInfoRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{0}
|
|
}
|
|
|
|
func (m *GetInfoRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetInfoRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetInfoRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetInfoRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetInfoRequest.Merge(m, src)
|
|
}
|
|
func (m *GetInfoRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetInfoRequest.Size(m)
|
|
}
|
|
func (m *GetInfoRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetInfoRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetInfoRequest proto.InternalMessageInfo
|
|
|
|
type GetInfoResponse struct {
|
|
Uptime string `protobuf:"bytes,1,opt,name=uptime,proto3" json:"uptime,omitempty"`
|
|
AvailableExchanges int64 `protobuf:"varint,2,opt,name=available_exchanges,json=availableExchanges,proto3" json:"available_exchanges,omitempty"`
|
|
EnabledExchanges int64 `protobuf:"varint,3,opt,name=enabled_exchanges,json=enabledExchanges,proto3" json:"enabled_exchanges,omitempty"`
|
|
DefaultForexProvider string `protobuf:"bytes,4,opt,name=default_forex_provider,json=defaultForexProvider,proto3" json:"default_forex_provider,omitempty"`
|
|
DefaultFiatCurrency string `protobuf:"bytes,5,opt,name=default_fiat_currency,json=defaultFiatCurrency,proto3" json:"default_fiat_currency,omitempty"`
|
|
SubsystemStatus map[string]bool `protobuf:"bytes,6,rep,name=subsystem_status,json=subsystemStatus,proto3" json:"subsystem_status,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
|
RpcEndpoints map[string]*RPCEndpoint `protobuf:"bytes,7,rep,name=rpc_endpoints,json=rpcEndpoints,proto3" json:"rpc_endpoints,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetInfoResponse) Reset() { *m = GetInfoResponse{} }
|
|
func (m *GetInfoResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetInfoResponse) ProtoMessage() {}
|
|
func (*GetInfoResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{1}
|
|
}
|
|
|
|
func (m *GetInfoResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetInfoResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetInfoResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetInfoResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetInfoResponse.Merge(m, src)
|
|
}
|
|
func (m *GetInfoResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetInfoResponse.Size(m)
|
|
}
|
|
func (m *GetInfoResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetInfoResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetInfoResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetInfoResponse) GetUptime() string {
|
|
if m != nil {
|
|
return m.Uptime
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetInfoResponse) GetAvailableExchanges() int64 {
|
|
if m != nil {
|
|
return m.AvailableExchanges
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetInfoResponse) GetEnabledExchanges() int64 {
|
|
if m != nil {
|
|
return m.EnabledExchanges
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetInfoResponse) GetDefaultForexProvider() string {
|
|
if m != nil {
|
|
return m.DefaultForexProvider
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetInfoResponse) GetDefaultFiatCurrency() string {
|
|
if m != nil {
|
|
return m.DefaultFiatCurrency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetInfoResponse) GetSubsystemStatus() map[string]bool {
|
|
if m != nil {
|
|
return m.SubsystemStatus
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetInfoResponse) GetRpcEndpoints() map[string]*RPCEndpoint {
|
|
if m != nil {
|
|
return m.RpcEndpoints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetCommunicationRelayersRequest struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetCommunicationRelayersRequest) Reset() { *m = GetCommunicationRelayersRequest{} }
|
|
func (m *GetCommunicationRelayersRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetCommunicationRelayersRequest) ProtoMessage() {}
|
|
func (*GetCommunicationRelayersRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{2}
|
|
}
|
|
|
|
func (m *GetCommunicationRelayersRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetCommunicationRelayersRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetCommunicationRelayersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetCommunicationRelayersRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetCommunicationRelayersRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetCommunicationRelayersRequest.Merge(m, src)
|
|
}
|
|
func (m *GetCommunicationRelayersRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetCommunicationRelayersRequest.Size(m)
|
|
}
|
|
func (m *GetCommunicationRelayersRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetCommunicationRelayersRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetCommunicationRelayersRequest proto.InternalMessageInfo
|
|
|
|
type CommunicationRelayer struct {
|
|
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
|
Connected bool `protobuf:"varint,2,opt,name=connected,proto3" json:"connected,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CommunicationRelayer) Reset() { *m = CommunicationRelayer{} }
|
|
func (m *CommunicationRelayer) String() string { return proto.CompactTextString(m) }
|
|
func (*CommunicationRelayer) ProtoMessage() {}
|
|
func (*CommunicationRelayer) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{3}
|
|
}
|
|
|
|
func (m *CommunicationRelayer) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CommunicationRelayer.Unmarshal(m, b)
|
|
}
|
|
func (m *CommunicationRelayer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CommunicationRelayer.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CommunicationRelayer) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CommunicationRelayer.Merge(m, src)
|
|
}
|
|
func (m *CommunicationRelayer) XXX_Size() int {
|
|
return xxx_messageInfo_CommunicationRelayer.Size(m)
|
|
}
|
|
func (m *CommunicationRelayer) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CommunicationRelayer.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CommunicationRelayer proto.InternalMessageInfo
|
|
|
|
func (m *CommunicationRelayer) GetEnabled() bool {
|
|
if m != nil {
|
|
return m.Enabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *CommunicationRelayer) GetConnected() bool {
|
|
if m != nil {
|
|
return m.Connected
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetCommunicationRelayersResponse struct {
|
|
CommunicationRelayers map[string]*CommunicationRelayer `protobuf:"bytes,1,rep,name=communication_relayers,json=communicationRelayers,proto3" json:"communication_relayers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetCommunicationRelayersResponse) Reset() { *m = GetCommunicationRelayersResponse{} }
|
|
func (m *GetCommunicationRelayersResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetCommunicationRelayersResponse) ProtoMessage() {}
|
|
func (*GetCommunicationRelayersResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{4}
|
|
}
|
|
|
|
func (m *GetCommunicationRelayersResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetCommunicationRelayersResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetCommunicationRelayersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetCommunicationRelayersResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetCommunicationRelayersResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetCommunicationRelayersResponse.Merge(m, src)
|
|
}
|
|
func (m *GetCommunicationRelayersResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetCommunicationRelayersResponse.Size(m)
|
|
}
|
|
func (m *GetCommunicationRelayersResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetCommunicationRelayersResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetCommunicationRelayersResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetCommunicationRelayersResponse) GetCommunicationRelayers() map[string]*CommunicationRelayer {
|
|
if m != nil {
|
|
return m.CommunicationRelayers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GenericSubsystemRequest struct {
|
|
Subsystem string `protobuf:"bytes,1,opt,name=subsystem,proto3" json:"subsystem,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GenericSubsystemRequest) Reset() { *m = GenericSubsystemRequest{} }
|
|
func (m *GenericSubsystemRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GenericSubsystemRequest) ProtoMessage() {}
|
|
func (*GenericSubsystemRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{5}
|
|
}
|
|
|
|
func (m *GenericSubsystemRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GenericSubsystemRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GenericSubsystemRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GenericSubsystemRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GenericSubsystemRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GenericSubsystemRequest.Merge(m, src)
|
|
}
|
|
func (m *GenericSubsystemRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GenericSubsystemRequest.Size(m)
|
|
}
|
|
func (m *GenericSubsystemRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GenericSubsystemRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GenericSubsystemRequest proto.InternalMessageInfo
|
|
|
|
func (m *GenericSubsystemRequest) GetSubsystem() string {
|
|
if m != nil {
|
|
return m.Subsystem
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GenericSubsystemResponse struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GenericSubsystemResponse) Reset() { *m = GenericSubsystemResponse{} }
|
|
func (m *GenericSubsystemResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GenericSubsystemResponse) ProtoMessage() {}
|
|
func (*GenericSubsystemResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{6}
|
|
}
|
|
|
|
func (m *GenericSubsystemResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GenericSubsystemResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GenericSubsystemResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GenericSubsystemResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GenericSubsystemResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GenericSubsystemResponse.Merge(m, src)
|
|
}
|
|
func (m *GenericSubsystemResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GenericSubsystemResponse.Size(m)
|
|
}
|
|
func (m *GenericSubsystemResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GenericSubsystemResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GenericSubsystemResponse proto.InternalMessageInfo
|
|
|
|
type GetSubsystemsRequest struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetSubsystemsRequest) Reset() { *m = GetSubsystemsRequest{} }
|
|
func (m *GetSubsystemsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetSubsystemsRequest) ProtoMessage() {}
|
|
func (*GetSubsystemsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{7}
|
|
}
|
|
|
|
func (m *GetSubsystemsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetSubsystemsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetSubsystemsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetSubsystemsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetSubsystemsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetSubsystemsRequest.Merge(m, src)
|
|
}
|
|
func (m *GetSubsystemsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetSubsystemsRequest.Size(m)
|
|
}
|
|
func (m *GetSubsystemsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetSubsystemsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetSubsystemsRequest proto.InternalMessageInfo
|
|
|
|
type GetSusbsytemsResponse struct {
|
|
SubsystemsStatus map[string]bool `protobuf:"bytes,1,rep,name=subsystems_status,json=subsystemsStatus,proto3" json:"subsystems_status,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetSusbsytemsResponse) Reset() { *m = GetSusbsytemsResponse{} }
|
|
func (m *GetSusbsytemsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetSusbsytemsResponse) ProtoMessage() {}
|
|
func (*GetSusbsytemsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{8}
|
|
}
|
|
|
|
func (m *GetSusbsytemsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetSusbsytemsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetSusbsytemsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetSusbsytemsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetSusbsytemsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetSusbsytemsResponse.Merge(m, src)
|
|
}
|
|
func (m *GetSusbsytemsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetSusbsytemsResponse.Size(m)
|
|
}
|
|
func (m *GetSusbsytemsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetSusbsytemsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetSusbsytemsResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetSusbsytemsResponse) GetSubsystemsStatus() map[string]bool {
|
|
if m != nil {
|
|
return m.SubsystemsStatus
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetRPCEndpointsRequest struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetRPCEndpointsRequest) Reset() { *m = GetRPCEndpointsRequest{} }
|
|
func (m *GetRPCEndpointsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetRPCEndpointsRequest) ProtoMessage() {}
|
|
func (*GetRPCEndpointsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{9}
|
|
}
|
|
|
|
func (m *GetRPCEndpointsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetRPCEndpointsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetRPCEndpointsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetRPCEndpointsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetRPCEndpointsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetRPCEndpointsRequest.Merge(m, src)
|
|
}
|
|
func (m *GetRPCEndpointsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetRPCEndpointsRequest.Size(m)
|
|
}
|
|
func (m *GetRPCEndpointsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetRPCEndpointsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetRPCEndpointsRequest proto.InternalMessageInfo
|
|
|
|
type RPCEndpoint struct {
|
|
Started bool `protobuf:"varint,1,opt,name=started,proto3" json:"started,omitempty"`
|
|
ListenAddress string `protobuf:"bytes,2,opt,name=listen_address,json=listenAddress,proto3" json:"listen_address,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RPCEndpoint) Reset() { *m = RPCEndpoint{} }
|
|
func (m *RPCEndpoint) String() string { return proto.CompactTextString(m) }
|
|
func (*RPCEndpoint) ProtoMessage() {}
|
|
func (*RPCEndpoint) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{10}
|
|
}
|
|
|
|
func (m *RPCEndpoint) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RPCEndpoint.Unmarshal(m, b)
|
|
}
|
|
func (m *RPCEndpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RPCEndpoint.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *RPCEndpoint) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RPCEndpoint.Merge(m, src)
|
|
}
|
|
func (m *RPCEndpoint) XXX_Size() int {
|
|
return xxx_messageInfo_RPCEndpoint.Size(m)
|
|
}
|
|
func (m *RPCEndpoint) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RPCEndpoint.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RPCEndpoint proto.InternalMessageInfo
|
|
|
|
func (m *RPCEndpoint) GetStarted() bool {
|
|
if m != nil {
|
|
return m.Started
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *RPCEndpoint) GetListenAddress() string {
|
|
if m != nil {
|
|
return m.ListenAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetRPCEndpointsResponse struct {
|
|
Endpoints map[string]*RPCEndpoint `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetRPCEndpointsResponse) Reset() { *m = GetRPCEndpointsResponse{} }
|
|
func (m *GetRPCEndpointsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetRPCEndpointsResponse) ProtoMessage() {}
|
|
func (*GetRPCEndpointsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{11}
|
|
}
|
|
|
|
func (m *GetRPCEndpointsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetRPCEndpointsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetRPCEndpointsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetRPCEndpointsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetRPCEndpointsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetRPCEndpointsResponse.Merge(m, src)
|
|
}
|
|
func (m *GetRPCEndpointsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetRPCEndpointsResponse.Size(m)
|
|
}
|
|
func (m *GetRPCEndpointsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetRPCEndpointsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetRPCEndpointsResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetRPCEndpointsResponse) GetEndpoints() map[string]*RPCEndpoint {
|
|
if m != nil {
|
|
return m.Endpoints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GenericExchangeNameRequest struct {
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GenericExchangeNameRequest) Reset() { *m = GenericExchangeNameRequest{} }
|
|
func (m *GenericExchangeNameRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GenericExchangeNameRequest) ProtoMessage() {}
|
|
func (*GenericExchangeNameRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{12}
|
|
}
|
|
|
|
func (m *GenericExchangeNameRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GenericExchangeNameRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GenericExchangeNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GenericExchangeNameRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GenericExchangeNameRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GenericExchangeNameRequest.Merge(m, src)
|
|
}
|
|
func (m *GenericExchangeNameRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GenericExchangeNameRequest.Size(m)
|
|
}
|
|
func (m *GenericExchangeNameRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GenericExchangeNameRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GenericExchangeNameRequest proto.InternalMessageInfo
|
|
|
|
func (m *GenericExchangeNameRequest) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GenericExchangeNameResponse struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GenericExchangeNameResponse) Reset() { *m = GenericExchangeNameResponse{} }
|
|
func (m *GenericExchangeNameResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GenericExchangeNameResponse) ProtoMessage() {}
|
|
func (*GenericExchangeNameResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{13}
|
|
}
|
|
|
|
func (m *GenericExchangeNameResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GenericExchangeNameResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GenericExchangeNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GenericExchangeNameResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GenericExchangeNameResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GenericExchangeNameResponse.Merge(m, src)
|
|
}
|
|
func (m *GenericExchangeNameResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GenericExchangeNameResponse.Size(m)
|
|
}
|
|
func (m *GenericExchangeNameResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GenericExchangeNameResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GenericExchangeNameResponse proto.InternalMessageInfo
|
|
|
|
type GetExchangesRequest struct {
|
|
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetExchangesRequest) Reset() { *m = GetExchangesRequest{} }
|
|
func (m *GetExchangesRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetExchangesRequest) ProtoMessage() {}
|
|
func (*GetExchangesRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{14}
|
|
}
|
|
|
|
func (m *GetExchangesRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetExchangesRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetExchangesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetExchangesRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetExchangesRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetExchangesRequest.Merge(m, src)
|
|
}
|
|
func (m *GetExchangesRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetExchangesRequest.Size(m)
|
|
}
|
|
func (m *GetExchangesRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetExchangesRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetExchangesRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetExchangesRequest) GetEnabled() bool {
|
|
if m != nil {
|
|
return m.Enabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetExchangesResponse struct {
|
|
Exchanges string `protobuf:"bytes,1,opt,name=exchanges,proto3" json:"exchanges,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetExchangesResponse) Reset() { *m = GetExchangesResponse{} }
|
|
func (m *GetExchangesResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetExchangesResponse) ProtoMessage() {}
|
|
func (*GetExchangesResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{15}
|
|
}
|
|
|
|
func (m *GetExchangesResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetExchangesResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetExchangesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetExchangesResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetExchangesResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetExchangesResponse.Merge(m, src)
|
|
}
|
|
func (m *GetExchangesResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetExchangesResponse.Size(m)
|
|
}
|
|
func (m *GetExchangesResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetExchangesResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetExchangesResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetExchangesResponse) GetExchanges() string {
|
|
if m != nil {
|
|
return m.Exchanges
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetExchangeOTPReponse struct {
|
|
OtpCode string `protobuf:"bytes,1,opt,name=otp_code,json=otpCode,proto3" json:"otp_code,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetExchangeOTPReponse) Reset() { *m = GetExchangeOTPReponse{} }
|
|
func (m *GetExchangeOTPReponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetExchangeOTPReponse) ProtoMessage() {}
|
|
func (*GetExchangeOTPReponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{16}
|
|
}
|
|
|
|
func (m *GetExchangeOTPReponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetExchangeOTPReponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetExchangeOTPReponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetExchangeOTPReponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetExchangeOTPReponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetExchangeOTPReponse.Merge(m, src)
|
|
}
|
|
func (m *GetExchangeOTPReponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetExchangeOTPReponse.Size(m)
|
|
}
|
|
func (m *GetExchangeOTPReponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetExchangeOTPReponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetExchangeOTPReponse proto.InternalMessageInfo
|
|
|
|
func (m *GetExchangeOTPReponse) GetOtpCode() string {
|
|
if m != nil {
|
|
return m.OtpCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetExchangeOTPsRequest struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetExchangeOTPsRequest) Reset() { *m = GetExchangeOTPsRequest{} }
|
|
func (m *GetExchangeOTPsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetExchangeOTPsRequest) ProtoMessage() {}
|
|
func (*GetExchangeOTPsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{17}
|
|
}
|
|
|
|
func (m *GetExchangeOTPsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetExchangeOTPsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetExchangeOTPsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetExchangeOTPsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetExchangeOTPsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetExchangeOTPsRequest.Merge(m, src)
|
|
}
|
|
func (m *GetExchangeOTPsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetExchangeOTPsRequest.Size(m)
|
|
}
|
|
func (m *GetExchangeOTPsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetExchangeOTPsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetExchangeOTPsRequest proto.InternalMessageInfo
|
|
|
|
type GetExchangeOTPsResponse struct {
|
|
OtpCodes map[string]string `protobuf:"bytes,1,rep,name=otp_codes,json=otpCodes,proto3" json:"otp_codes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetExchangeOTPsResponse) Reset() { *m = GetExchangeOTPsResponse{} }
|
|
func (m *GetExchangeOTPsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetExchangeOTPsResponse) ProtoMessage() {}
|
|
func (*GetExchangeOTPsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{18}
|
|
}
|
|
|
|
func (m *GetExchangeOTPsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetExchangeOTPsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetExchangeOTPsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetExchangeOTPsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetExchangeOTPsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetExchangeOTPsResponse.Merge(m, src)
|
|
}
|
|
func (m *GetExchangeOTPsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetExchangeOTPsResponse.Size(m)
|
|
}
|
|
func (m *GetExchangeOTPsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetExchangeOTPsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetExchangeOTPsResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetExchangeOTPsResponse) GetOtpCodes() map[string]string {
|
|
if m != nil {
|
|
return m.OtpCodes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DisableExchangeRequest struct {
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DisableExchangeRequest) Reset() { *m = DisableExchangeRequest{} }
|
|
func (m *DisableExchangeRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*DisableExchangeRequest) ProtoMessage() {}
|
|
func (*DisableExchangeRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{19}
|
|
}
|
|
|
|
func (m *DisableExchangeRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DisableExchangeRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *DisableExchangeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DisableExchangeRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DisableExchangeRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DisableExchangeRequest.Merge(m, src)
|
|
}
|
|
func (m *DisableExchangeRequest) XXX_Size() int {
|
|
return xxx_messageInfo_DisableExchangeRequest.Size(m)
|
|
}
|
|
func (m *DisableExchangeRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DisableExchangeRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DisableExchangeRequest proto.InternalMessageInfo
|
|
|
|
func (m *DisableExchangeRequest) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PairsSupported struct {
|
|
AvailablePairs string `protobuf:"bytes,1,opt,name=available_pairs,json=availablePairs,proto3" json:"available_pairs,omitempty"`
|
|
EnabledPairs string `protobuf:"bytes,2,opt,name=enabled_pairs,json=enabledPairs,proto3" json:"enabled_pairs,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *PairsSupported) Reset() { *m = PairsSupported{} }
|
|
func (m *PairsSupported) String() string { return proto.CompactTextString(m) }
|
|
func (*PairsSupported) ProtoMessage() {}
|
|
func (*PairsSupported) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{20}
|
|
}
|
|
|
|
func (m *PairsSupported) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_PairsSupported.Unmarshal(m, b)
|
|
}
|
|
func (m *PairsSupported) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_PairsSupported.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *PairsSupported) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PairsSupported.Merge(m, src)
|
|
}
|
|
func (m *PairsSupported) XXX_Size() int {
|
|
return xxx_messageInfo_PairsSupported.Size(m)
|
|
}
|
|
func (m *PairsSupported) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PairsSupported.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PairsSupported proto.InternalMessageInfo
|
|
|
|
func (m *PairsSupported) GetAvailablePairs() string {
|
|
if m != nil {
|
|
return m.AvailablePairs
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *PairsSupported) GetEnabledPairs() string {
|
|
if m != nil {
|
|
return m.EnabledPairs
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetExchangeInfoResponse struct {
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
|
Verbose bool `protobuf:"varint,3,opt,name=verbose,proto3" json:"verbose,omitempty"`
|
|
UsingSandbox bool `protobuf:"varint,4,opt,name=using_sandbox,json=usingSandbox,proto3" json:"using_sandbox,omitempty"`
|
|
HttpTimeout string `protobuf:"bytes,5,opt,name=http_timeout,json=httpTimeout,proto3" json:"http_timeout,omitempty"`
|
|
HttpUseragent string `protobuf:"bytes,6,opt,name=http_useragent,json=httpUseragent,proto3" json:"http_useragent,omitempty"`
|
|
HttpProxy string `protobuf:"bytes,7,opt,name=http_proxy,json=httpProxy,proto3" json:"http_proxy,omitempty"`
|
|
BaseCurrencies string `protobuf:"bytes,8,opt,name=base_currencies,json=baseCurrencies,proto3" json:"base_currencies,omitempty"`
|
|
SupportedAssets map[string]*PairsSupported `protobuf:"bytes,9,rep,name=supported_assets,json=supportedAssets,proto3" json:"supported_assets,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
AuthenticatedApi bool `protobuf:"varint,10,opt,name=authenticated_api,json=authenticatedApi,proto3" json:"authenticated_api,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetExchangeInfoResponse) Reset() { *m = GetExchangeInfoResponse{} }
|
|
func (m *GetExchangeInfoResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetExchangeInfoResponse) ProtoMessage() {}
|
|
func (*GetExchangeInfoResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{21}
|
|
}
|
|
|
|
func (m *GetExchangeInfoResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetExchangeInfoResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetExchangeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetExchangeInfoResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetExchangeInfoResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetExchangeInfoResponse.Merge(m, src)
|
|
}
|
|
func (m *GetExchangeInfoResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetExchangeInfoResponse.Size(m)
|
|
}
|
|
func (m *GetExchangeInfoResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetExchangeInfoResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetExchangeInfoResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetExchangeInfoResponse) GetName() string {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetExchangeInfoResponse) GetEnabled() bool {
|
|
if m != nil {
|
|
return m.Enabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *GetExchangeInfoResponse) GetVerbose() bool {
|
|
if m != nil {
|
|
return m.Verbose
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *GetExchangeInfoResponse) GetUsingSandbox() bool {
|
|
if m != nil {
|
|
return m.UsingSandbox
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *GetExchangeInfoResponse) GetHttpTimeout() string {
|
|
if m != nil {
|
|
return m.HttpTimeout
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetExchangeInfoResponse) GetHttpUseragent() string {
|
|
if m != nil {
|
|
return m.HttpUseragent
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetExchangeInfoResponse) GetHttpProxy() string {
|
|
if m != nil {
|
|
return m.HttpProxy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetExchangeInfoResponse) GetBaseCurrencies() string {
|
|
if m != nil {
|
|
return m.BaseCurrencies
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetExchangeInfoResponse) GetSupportedAssets() map[string]*PairsSupported {
|
|
if m != nil {
|
|
return m.SupportedAssets
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetExchangeInfoResponse) GetAuthenticatedApi() bool {
|
|
if m != nil {
|
|
return m.AuthenticatedApi
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetTickerRequest struct {
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
AssetType string `protobuf:"bytes,3,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetTickerRequest) Reset() { *m = GetTickerRequest{} }
|
|
func (m *GetTickerRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetTickerRequest) ProtoMessage() {}
|
|
func (*GetTickerRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{22}
|
|
}
|
|
|
|
func (m *GetTickerRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetTickerRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetTickerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetTickerRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetTickerRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetTickerRequest.Merge(m, src)
|
|
}
|
|
func (m *GetTickerRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetTickerRequest.Size(m)
|
|
}
|
|
func (m *GetTickerRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetTickerRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetTickerRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetTickerRequest) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetTickerRequest) GetPair() *CurrencyPair {
|
|
if m != nil {
|
|
return m.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetTickerRequest) GetAssetType() string {
|
|
if m != nil {
|
|
return m.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CurrencyPair struct {
|
|
Delimiter string `protobuf:"bytes,1,opt,name=delimiter,proto3" json:"delimiter,omitempty"`
|
|
Base string `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"`
|
|
Quote string `protobuf:"bytes,3,opt,name=quote,proto3" json:"quote,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CurrencyPair) Reset() { *m = CurrencyPair{} }
|
|
func (m *CurrencyPair) String() string { return proto.CompactTextString(m) }
|
|
func (*CurrencyPair) ProtoMessage() {}
|
|
func (*CurrencyPair) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{23}
|
|
}
|
|
|
|
func (m *CurrencyPair) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CurrencyPair.Unmarshal(m, b)
|
|
}
|
|
func (m *CurrencyPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CurrencyPair.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CurrencyPair) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CurrencyPair.Merge(m, src)
|
|
}
|
|
func (m *CurrencyPair) XXX_Size() int {
|
|
return xxx_messageInfo_CurrencyPair.Size(m)
|
|
}
|
|
func (m *CurrencyPair) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CurrencyPair.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CurrencyPair proto.InternalMessageInfo
|
|
|
|
func (m *CurrencyPair) GetDelimiter() string {
|
|
if m != nil {
|
|
return m.Delimiter
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CurrencyPair) GetBase() string {
|
|
if m != nil {
|
|
return m.Base
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CurrencyPair) GetQuote() string {
|
|
if m != nil {
|
|
return m.Quote
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type TickerResponse struct {
|
|
Pair *CurrencyPair `protobuf:"bytes,1,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
LastUpdated int64 `protobuf:"varint,2,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
|
|
CurrencyPair string `protobuf:"bytes,3,opt,name=currency_pair,json=currencyPair,proto3" json:"currency_pair,omitempty"`
|
|
Last float64 `protobuf:"fixed64,4,opt,name=last,proto3" json:"last,omitempty"`
|
|
High float64 `protobuf:"fixed64,5,opt,name=high,proto3" json:"high,omitempty"`
|
|
Low float64 `protobuf:"fixed64,6,opt,name=low,proto3" json:"low,omitempty"`
|
|
Bid float64 `protobuf:"fixed64,7,opt,name=bid,proto3" json:"bid,omitempty"`
|
|
Ask float64 `protobuf:"fixed64,8,opt,name=ask,proto3" json:"ask,omitempty"`
|
|
Volume float64 `protobuf:"fixed64,9,opt,name=volume,proto3" json:"volume,omitempty"`
|
|
PriceAth float64 `protobuf:"fixed64,10,opt,name=price_ath,json=priceAth,proto3" json:"price_ath,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *TickerResponse) Reset() { *m = TickerResponse{} }
|
|
func (m *TickerResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*TickerResponse) ProtoMessage() {}
|
|
func (*TickerResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{24}
|
|
}
|
|
|
|
func (m *TickerResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_TickerResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *TickerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_TickerResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *TickerResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_TickerResponse.Merge(m, src)
|
|
}
|
|
func (m *TickerResponse) XXX_Size() int {
|
|
return xxx_messageInfo_TickerResponse.Size(m)
|
|
}
|
|
func (m *TickerResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_TickerResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_TickerResponse proto.InternalMessageInfo
|
|
|
|
func (m *TickerResponse) GetPair() *CurrencyPair {
|
|
if m != nil {
|
|
return m.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *TickerResponse) GetLastUpdated() int64 {
|
|
if m != nil {
|
|
return m.LastUpdated
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *TickerResponse) GetCurrencyPair() string {
|
|
if m != nil {
|
|
return m.CurrencyPair
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *TickerResponse) GetLast() float64 {
|
|
if m != nil {
|
|
return m.Last
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *TickerResponse) GetHigh() float64 {
|
|
if m != nil {
|
|
return m.High
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *TickerResponse) GetLow() float64 {
|
|
if m != nil {
|
|
return m.Low
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *TickerResponse) GetBid() float64 {
|
|
if m != nil {
|
|
return m.Bid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *TickerResponse) GetAsk() float64 {
|
|
if m != nil {
|
|
return m.Ask
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *TickerResponse) GetVolume() float64 {
|
|
if m != nil {
|
|
return m.Volume
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *TickerResponse) GetPriceAth() float64 {
|
|
if m != nil {
|
|
return m.PriceAth
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetTickersRequest struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetTickersRequest) Reset() { *m = GetTickersRequest{} }
|
|
func (m *GetTickersRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetTickersRequest) ProtoMessage() {}
|
|
func (*GetTickersRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{25}
|
|
}
|
|
|
|
func (m *GetTickersRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetTickersRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetTickersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetTickersRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetTickersRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetTickersRequest.Merge(m, src)
|
|
}
|
|
func (m *GetTickersRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetTickersRequest.Size(m)
|
|
}
|
|
func (m *GetTickersRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetTickersRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetTickersRequest proto.InternalMessageInfo
|
|
|
|
type Tickers struct {
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Tickers []*TickerResponse `protobuf:"bytes,2,rep,name=tickers,proto3" json:"tickers,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Tickers) Reset() { *m = Tickers{} }
|
|
func (m *Tickers) String() string { return proto.CompactTextString(m) }
|
|
func (*Tickers) ProtoMessage() {}
|
|
func (*Tickers) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{26}
|
|
}
|
|
|
|
func (m *Tickers) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Tickers.Unmarshal(m, b)
|
|
}
|
|
func (m *Tickers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Tickers.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Tickers) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Tickers.Merge(m, src)
|
|
}
|
|
func (m *Tickers) XXX_Size() int {
|
|
return xxx_messageInfo_Tickers.Size(m)
|
|
}
|
|
func (m *Tickers) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Tickers.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Tickers proto.InternalMessageInfo
|
|
|
|
func (m *Tickers) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Tickers) GetTickers() []*TickerResponse {
|
|
if m != nil {
|
|
return m.Tickers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetTickersResponse struct {
|
|
Tickers []*Tickers `protobuf:"bytes,1,rep,name=tickers,proto3" json:"tickers,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetTickersResponse) Reset() { *m = GetTickersResponse{} }
|
|
func (m *GetTickersResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetTickersResponse) ProtoMessage() {}
|
|
func (*GetTickersResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{27}
|
|
}
|
|
|
|
func (m *GetTickersResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetTickersResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetTickersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetTickersResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetTickersResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetTickersResponse.Merge(m, src)
|
|
}
|
|
func (m *GetTickersResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetTickersResponse.Size(m)
|
|
}
|
|
func (m *GetTickersResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetTickersResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetTickersResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetTickersResponse) GetTickers() []*Tickers {
|
|
if m != nil {
|
|
return m.Tickers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetOrderbookRequest struct {
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
AssetType string `protobuf:"bytes,3,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetOrderbookRequest) Reset() { *m = GetOrderbookRequest{} }
|
|
func (m *GetOrderbookRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetOrderbookRequest) ProtoMessage() {}
|
|
func (*GetOrderbookRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{28}
|
|
}
|
|
|
|
func (m *GetOrderbookRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetOrderbookRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetOrderbookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetOrderbookRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetOrderbookRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetOrderbookRequest.Merge(m, src)
|
|
}
|
|
func (m *GetOrderbookRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetOrderbookRequest.Size(m)
|
|
}
|
|
func (m *GetOrderbookRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetOrderbookRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetOrderbookRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetOrderbookRequest) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetOrderbookRequest) GetPair() *CurrencyPair {
|
|
if m != nil {
|
|
return m.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetOrderbookRequest) GetAssetType() string {
|
|
if m != nil {
|
|
return m.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type OrderbookItem struct {
|
|
Amount float64 `protobuf:"fixed64,1,opt,name=amount,proto3" json:"amount,omitempty"`
|
|
Price float64 `protobuf:"fixed64,2,opt,name=price,proto3" json:"price,omitempty"`
|
|
Id int64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *OrderbookItem) Reset() { *m = OrderbookItem{} }
|
|
func (m *OrderbookItem) String() string { return proto.CompactTextString(m) }
|
|
func (*OrderbookItem) ProtoMessage() {}
|
|
func (*OrderbookItem) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{29}
|
|
}
|
|
|
|
func (m *OrderbookItem) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_OrderbookItem.Unmarshal(m, b)
|
|
}
|
|
func (m *OrderbookItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_OrderbookItem.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *OrderbookItem) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_OrderbookItem.Merge(m, src)
|
|
}
|
|
func (m *OrderbookItem) XXX_Size() int {
|
|
return xxx_messageInfo_OrderbookItem.Size(m)
|
|
}
|
|
func (m *OrderbookItem) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_OrderbookItem.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_OrderbookItem proto.InternalMessageInfo
|
|
|
|
func (m *OrderbookItem) GetAmount() float64 {
|
|
if m != nil {
|
|
return m.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *OrderbookItem) GetPrice() float64 {
|
|
if m != nil {
|
|
return m.Price
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *OrderbookItem) GetId() int64 {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type OrderbookResponse struct {
|
|
Pair *CurrencyPair `protobuf:"bytes,1,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
CurrencyPair string `protobuf:"bytes,2,opt,name=currency_pair,json=currencyPair,proto3" json:"currency_pair,omitempty"`
|
|
Bids []*OrderbookItem `protobuf:"bytes,3,rep,name=bids,proto3" json:"bids,omitempty"`
|
|
Asks []*OrderbookItem `protobuf:"bytes,4,rep,name=asks,proto3" json:"asks,omitempty"`
|
|
LastUpdated int64 `protobuf:"varint,5,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
|
|
AssetType string `protobuf:"bytes,6,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *OrderbookResponse) Reset() { *m = OrderbookResponse{} }
|
|
func (m *OrderbookResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*OrderbookResponse) ProtoMessage() {}
|
|
func (*OrderbookResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{30}
|
|
}
|
|
|
|
func (m *OrderbookResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_OrderbookResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *OrderbookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_OrderbookResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *OrderbookResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_OrderbookResponse.Merge(m, src)
|
|
}
|
|
func (m *OrderbookResponse) XXX_Size() int {
|
|
return xxx_messageInfo_OrderbookResponse.Size(m)
|
|
}
|
|
func (m *OrderbookResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_OrderbookResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_OrderbookResponse proto.InternalMessageInfo
|
|
|
|
func (m *OrderbookResponse) GetPair() *CurrencyPair {
|
|
if m != nil {
|
|
return m.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *OrderbookResponse) GetCurrencyPair() string {
|
|
if m != nil {
|
|
return m.CurrencyPair
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *OrderbookResponse) GetBids() []*OrderbookItem {
|
|
if m != nil {
|
|
return m.Bids
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *OrderbookResponse) GetAsks() []*OrderbookItem {
|
|
if m != nil {
|
|
return m.Asks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *OrderbookResponse) GetLastUpdated() int64 {
|
|
if m != nil {
|
|
return m.LastUpdated
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *OrderbookResponse) GetAssetType() string {
|
|
if m != nil {
|
|
return m.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetOrderbooksRequest struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetOrderbooksRequest) Reset() { *m = GetOrderbooksRequest{} }
|
|
func (m *GetOrderbooksRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetOrderbooksRequest) ProtoMessage() {}
|
|
func (*GetOrderbooksRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{31}
|
|
}
|
|
|
|
func (m *GetOrderbooksRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetOrderbooksRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetOrderbooksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetOrderbooksRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetOrderbooksRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetOrderbooksRequest.Merge(m, src)
|
|
}
|
|
func (m *GetOrderbooksRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetOrderbooksRequest.Size(m)
|
|
}
|
|
func (m *GetOrderbooksRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetOrderbooksRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetOrderbooksRequest proto.InternalMessageInfo
|
|
|
|
type Orderbooks struct {
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Orderbooks []*OrderbookResponse `protobuf:"bytes,2,rep,name=orderbooks,proto3" json:"orderbooks,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Orderbooks) Reset() { *m = Orderbooks{} }
|
|
func (m *Orderbooks) String() string { return proto.CompactTextString(m) }
|
|
func (*Orderbooks) ProtoMessage() {}
|
|
func (*Orderbooks) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{32}
|
|
}
|
|
|
|
func (m *Orderbooks) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Orderbooks.Unmarshal(m, b)
|
|
}
|
|
func (m *Orderbooks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Orderbooks.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Orderbooks) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Orderbooks.Merge(m, src)
|
|
}
|
|
func (m *Orderbooks) XXX_Size() int {
|
|
return xxx_messageInfo_Orderbooks.Size(m)
|
|
}
|
|
func (m *Orderbooks) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Orderbooks.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Orderbooks proto.InternalMessageInfo
|
|
|
|
func (m *Orderbooks) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Orderbooks) GetOrderbooks() []*OrderbookResponse {
|
|
if m != nil {
|
|
return m.Orderbooks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetOrderbooksResponse struct {
|
|
Orderbooks []*Orderbooks `protobuf:"bytes,1,rep,name=orderbooks,proto3" json:"orderbooks,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetOrderbooksResponse) Reset() { *m = GetOrderbooksResponse{} }
|
|
func (m *GetOrderbooksResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetOrderbooksResponse) ProtoMessage() {}
|
|
func (*GetOrderbooksResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{33}
|
|
}
|
|
|
|
func (m *GetOrderbooksResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetOrderbooksResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetOrderbooksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetOrderbooksResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetOrderbooksResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetOrderbooksResponse.Merge(m, src)
|
|
}
|
|
func (m *GetOrderbooksResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetOrderbooksResponse.Size(m)
|
|
}
|
|
func (m *GetOrderbooksResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetOrderbooksResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetOrderbooksResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetOrderbooksResponse) GetOrderbooks() []*Orderbooks {
|
|
if m != nil {
|
|
return m.Orderbooks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetAccountInfoRequest struct {
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetAccountInfoRequest) Reset() { *m = GetAccountInfoRequest{} }
|
|
func (m *GetAccountInfoRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetAccountInfoRequest) ProtoMessage() {}
|
|
func (*GetAccountInfoRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{34}
|
|
}
|
|
|
|
func (m *GetAccountInfoRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetAccountInfoRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetAccountInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetAccountInfoRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetAccountInfoRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetAccountInfoRequest.Merge(m, src)
|
|
}
|
|
func (m *GetAccountInfoRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetAccountInfoRequest.Size(m)
|
|
}
|
|
func (m *GetAccountInfoRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetAccountInfoRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetAccountInfoRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetAccountInfoRequest) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Account struct {
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Currencies []*AccountCurrencyInfo `protobuf:"bytes,2,rep,name=currencies,proto3" json:"currencies,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Account) Reset() { *m = Account{} }
|
|
func (m *Account) String() string { return proto.CompactTextString(m) }
|
|
func (*Account) ProtoMessage() {}
|
|
func (*Account) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{35}
|
|
}
|
|
|
|
func (m *Account) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Account.Unmarshal(m, b)
|
|
}
|
|
func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Account.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Account) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Account.Merge(m, src)
|
|
}
|
|
func (m *Account) XXX_Size() int {
|
|
return xxx_messageInfo_Account.Size(m)
|
|
}
|
|
func (m *Account) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Account.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Account proto.InternalMessageInfo
|
|
|
|
func (m *Account) GetId() string {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Account) GetCurrencies() []*AccountCurrencyInfo {
|
|
if m != nil {
|
|
return m.Currencies
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AccountCurrencyInfo struct {
|
|
Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"`
|
|
TotalValue float64 `protobuf:"fixed64,2,opt,name=total_value,json=totalValue,proto3" json:"total_value,omitempty"`
|
|
Hold float64 `protobuf:"fixed64,3,opt,name=hold,proto3" json:"hold,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AccountCurrencyInfo) Reset() { *m = AccountCurrencyInfo{} }
|
|
func (m *AccountCurrencyInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*AccountCurrencyInfo) ProtoMessage() {}
|
|
func (*AccountCurrencyInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{36}
|
|
}
|
|
|
|
func (m *AccountCurrencyInfo) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AccountCurrencyInfo.Unmarshal(m, b)
|
|
}
|
|
func (m *AccountCurrencyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AccountCurrencyInfo.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AccountCurrencyInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AccountCurrencyInfo.Merge(m, src)
|
|
}
|
|
func (m *AccountCurrencyInfo) XXX_Size() int {
|
|
return xxx_messageInfo_AccountCurrencyInfo.Size(m)
|
|
}
|
|
func (m *AccountCurrencyInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AccountCurrencyInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AccountCurrencyInfo proto.InternalMessageInfo
|
|
|
|
func (m *AccountCurrencyInfo) GetCurrency() string {
|
|
if m != nil {
|
|
return m.Currency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *AccountCurrencyInfo) GetTotalValue() float64 {
|
|
if m != nil {
|
|
return m.TotalValue
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *AccountCurrencyInfo) GetHold() float64 {
|
|
if m != nil {
|
|
return m.Hold
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetAccountInfoResponse struct {
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Accounts []*Account `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetAccountInfoResponse) Reset() { *m = GetAccountInfoResponse{} }
|
|
func (m *GetAccountInfoResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetAccountInfoResponse) ProtoMessage() {}
|
|
func (*GetAccountInfoResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{37}
|
|
}
|
|
|
|
func (m *GetAccountInfoResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetAccountInfoResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetAccountInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetAccountInfoResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetAccountInfoResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetAccountInfoResponse.Merge(m, src)
|
|
}
|
|
func (m *GetAccountInfoResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetAccountInfoResponse.Size(m)
|
|
}
|
|
func (m *GetAccountInfoResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetAccountInfoResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetAccountInfoResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetAccountInfoResponse) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetAccountInfoResponse) GetAccounts() []*Account {
|
|
if m != nil {
|
|
return m.Accounts
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetConfigRequest struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetConfigRequest) Reset() { *m = GetConfigRequest{} }
|
|
func (m *GetConfigRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetConfigRequest) ProtoMessage() {}
|
|
func (*GetConfigRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{38}
|
|
}
|
|
|
|
func (m *GetConfigRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetConfigRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetConfigRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetConfigRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetConfigRequest.Merge(m, src)
|
|
}
|
|
func (m *GetConfigRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetConfigRequest.Size(m)
|
|
}
|
|
func (m *GetConfigRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetConfigRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetConfigRequest proto.InternalMessageInfo
|
|
|
|
type GetConfigResponse struct {
|
|
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetConfigResponse) Reset() { *m = GetConfigResponse{} }
|
|
func (m *GetConfigResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetConfigResponse) ProtoMessage() {}
|
|
func (*GetConfigResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{39}
|
|
}
|
|
|
|
func (m *GetConfigResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetConfigResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetConfigResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetConfigResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetConfigResponse.Merge(m, src)
|
|
}
|
|
func (m *GetConfigResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetConfigResponse.Size(m)
|
|
}
|
|
func (m *GetConfigResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetConfigResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetConfigResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetConfigResponse) GetData() []byte {
|
|
if m != nil {
|
|
return m.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PortfolioAddress struct {
|
|
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
|
CoinType string `protobuf:"bytes,2,opt,name=coin_type,json=coinType,proto3" json:"coin_type,omitempty"`
|
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
Balance float64 `protobuf:"fixed64,4,opt,name=balance,proto3" json:"balance,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *PortfolioAddress) Reset() { *m = PortfolioAddress{} }
|
|
func (m *PortfolioAddress) String() string { return proto.CompactTextString(m) }
|
|
func (*PortfolioAddress) ProtoMessage() {}
|
|
func (*PortfolioAddress) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{40}
|
|
}
|
|
|
|
func (m *PortfolioAddress) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_PortfolioAddress.Unmarshal(m, b)
|
|
}
|
|
func (m *PortfolioAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_PortfolioAddress.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *PortfolioAddress) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PortfolioAddress.Merge(m, src)
|
|
}
|
|
func (m *PortfolioAddress) XXX_Size() int {
|
|
return xxx_messageInfo_PortfolioAddress.Size(m)
|
|
}
|
|
func (m *PortfolioAddress) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PortfolioAddress.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PortfolioAddress proto.InternalMessageInfo
|
|
|
|
func (m *PortfolioAddress) GetAddress() string {
|
|
if m != nil {
|
|
return m.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *PortfolioAddress) GetCoinType() string {
|
|
if m != nil {
|
|
return m.CoinType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *PortfolioAddress) GetDescription() string {
|
|
if m != nil {
|
|
return m.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *PortfolioAddress) GetBalance() float64 {
|
|
if m != nil {
|
|
return m.Balance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetPortfolioRequest struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetPortfolioRequest) Reset() { *m = GetPortfolioRequest{} }
|
|
func (m *GetPortfolioRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetPortfolioRequest) ProtoMessage() {}
|
|
func (*GetPortfolioRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{41}
|
|
}
|
|
|
|
func (m *GetPortfolioRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetPortfolioRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetPortfolioRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetPortfolioRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetPortfolioRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetPortfolioRequest.Merge(m, src)
|
|
}
|
|
func (m *GetPortfolioRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetPortfolioRequest.Size(m)
|
|
}
|
|
func (m *GetPortfolioRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetPortfolioRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetPortfolioRequest proto.InternalMessageInfo
|
|
|
|
type GetPortfolioResponse struct {
|
|
Portfolio []*PortfolioAddress `protobuf:"bytes,1,rep,name=portfolio,proto3" json:"portfolio,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetPortfolioResponse) Reset() { *m = GetPortfolioResponse{} }
|
|
func (m *GetPortfolioResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetPortfolioResponse) ProtoMessage() {}
|
|
func (*GetPortfolioResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{42}
|
|
}
|
|
|
|
func (m *GetPortfolioResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetPortfolioResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetPortfolioResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetPortfolioResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetPortfolioResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetPortfolioResponse.Merge(m, src)
|
|
}
|
|
func (m *GetPortfolioResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetPortfolioResponse.Size(m)
|
|
}
|
|
func (m *GetPortfolioResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetPortfolioResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetPortfolioResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetPortfolioResponse) GetPortfolio() []*PortfolioAddress {
|
|
if m != nil {
|
|
return m.Portfolio
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetPortfolioSummaryRequest struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetPortfolioSummaryRequest) Reset() { *m = GetPortfolioSummaryRequest{} }
|
|
func (m *GetPortfolioSummaryRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetPortfolioSummaryRequest) ProtoMessage() {}
|
|
func (*GetPortfolioSummaryRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{43}
|
|
}
|
|
|
|
func (m *GetPortfolioSummaryRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetPortfolioSummaryRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetPortfolioSummaryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetPortfolioSummaryRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetPortfolioSummaryRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetPortfolioSummaryRequest.Merge(m, src)
|
|
}
|
|
func (m *GetPortfolioSummaryRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetPortfolioSummaryRequest.Size(m)
|
|
}
|
|
func (m *GetPortfolioSummaryRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetPortfolioSummaryRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetPortfolioSummaryRequest proto.InternalMessageInfo
|
|
|
|
type Coin struct {
|
|
Coin string `protobuf:"bytes,1,opt,name=coin,proto3" json:"coin,omitempty"`
|
|
Balance float64 `protobuf:"fixed64,2,opt,name=balance,proto3" json:"balance,omitempty"`
|
|
Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
|
|
Percentage float64 `protobuf:"fixed64,4,opt,name=percentage,proto3" json:"percentage,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Coin) Reset() { *m = Coin{} }
|
|
func (m *Coin) String() string { return proto.CompactTextString(m) }
|
|
func (*Coin) ProtoMessage() {}
|
|
func (*Coin) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{44}
|
|
}
|
|
|
|
func (m *Coin) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Coin.Unmarshal(m, b)
|
|
}
|
|
func (m *Coin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Coin.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Coin) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Coin.Merge(m, src)
|
|
}
|
|
func (m *Coin) XXX_Size() int {
|
|
return xxx_messageInfo_Coin.Size(m)
|
|
}
|
|
func (m *Coin) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Coin.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Coin proto.InternalMessageInfo
|
|
|
|
func (m *Coin) GetCoin() string {
|
|
if m != nil {
|
|
return m.Coin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Coin) GetBalance() float64 {
|
|
if m != nil {
|
|
return m.Balance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Coin) GetAddress() string {
|
|
if m != nil {
|
|
return m.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Coin) GetPercentage() float64 {
|
|
if m != nil {
|
|
return m.Percentage
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type OfflineCoinSummary struct {
|
|
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
|
Balance float64 `protobuf:"fixed64,2,opt,name=balance,proto3" json:"balance,omitempty"`
|
|
Percentage float64 `protobuf:"fixed64,3,opt,name=percentage,proto3" json:"percentage,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *OfflineCoinSummary) Reset() { *m = OfflineCoinSummary{} }
|
|
func (m *OfflineCoinSummary) String() string { return proto.CompactTextString(m) }
|
|
func (*OfflineCoinSummary) ProtoMessage() {}
|
|
func (*OfflineCoinSummary) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{45}
|
|
}
|
|
|
|
func (m *OfflineCoinSummary) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_OfflineCoinSummary.Unmarshal(m, b)
|
|
}
|
|
func (m *OfflineCoinSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_OfflineCoinSummary.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *OfflineCoinSummary) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_OfflineCoinSummary.Merge(m, src)
|
|
}
|
|
func (m *OfflineCoinSummary) XXX_Size() int {
|
|
return xxx_messageInfo_OfflineCoinSummary.Size(m)
|
|
}
|
|
func (m *OfflineCoinSummary) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_OfflineCoinSummary.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_OfflineCoinSummary proto.InternalMessageInfo
|
|
|
|
func (m *OfflineCoinSummary) GetAddress() string {
|
|
if m != nil {
|
|
return m.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *OfflineCoinSummary) GetBalance() float64 {
|
|
if m != nil {
|
|
return m.Balance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *OfflineCoinSummary) GetPercentage() float64 {
|
|
if m != nil {
|
|
return m.Percentage
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type OnlineCoinSummary struct {
|
|
Balance float64 `protobuf:"fixed64,1,opt,name=balance,proto3" json:"balance,omitempty"`
|
|
Percentage float64 `protobuf:"fixed64,2,opt,name=percentage,proto3" json:"percentage,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *OnlineCoinSummary) Reset() { *m = OnlineCoinSummary{} }
|
|
func (m *OnlineCoinSummary) String() string { return proto.CompactTextString(m) }
|
|
func (*OnlineCoinSummary) ProtoMessage() {}
|
|
func (*OnlineCoinSummary) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{46}
|
|
}
|
|
|
|
func (m *OnlineCoinSummary) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_OnlineCoinSummary.Unmarshal(m, b)
|
|
}
|
|
func (m *OnlineCoinSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_OnlineCoinSummary.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *OnlineCoinSummary) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_OnlineCoinSummary.Merge(m, src)
|
|
}
|
|
func (m *OnlineCoinSummary) XXX_Size() int {
|
|
return xxx_messageInfo_OnlineCoinSummary.Size(m)
|
|
}
|
|
func (m *OnlineCoinSummary) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_OnlineCoinSummary.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_OnlineCoinSummary proto.InternalMessageInfo
|
|
|
|
func (m *OnlineCoinSummary) GetBalance() float64 {
|
|
if m != nil {
|
|
return m.Balance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *OnlineCoinSummary) GetPercentage() float64 {
|
|
if m != nil {
|
|
return m.Percentage
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type OfflineCoins struct {
|
|
Addresses []*OfflineCoinSummary `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *OfflineCoins) Reset() { *m = OfflineCoins{} }
|
|
func (m *OfflineCoins) String() string { return proto.CompactTextString(m) }
|
|
func (*OfflineCoins) ProtoMessage() {}
|
|
func (*OfflineCoins) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{47}
|
|
}
|
|
|
|
func (m *OfflineCoins) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_OfflineCoins.Unmarshal(m, b)
|
|
}
|
|
func (m *OfflineCoins) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_OfflineCoins.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *OfflineCoins) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_OfflineCoins.Merge(m, src)
|
|
}
|
|
func (m *OfflineCoins) XXX_Size() int {
|
|
return xxx_messageInfo_OfflineCoins.Size(m)
|
|
}
|
|
func (m *OfflineCoins) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_OfflineCoins.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_OfflineCoins proto.InternalMessageInfo
|
|
|
|
func (m *OfflineCoins) GetAddresses() []*OfflineCoinSummary {
|
|
if m != nil {
|
|
return m.Addresses
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type OnlineCoins struct {
|
|
Coins map[string]*OnlineCoinSummary `protobuf:"bytes,1,rep,name=coins,proto3" json:"coins,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *OnlineCoins) Reset() { *m = OnlineCoins{} }
|
|
func (m *OnlineCoins) String() string { return proto.CompactTextString(m) }
|
|
func (*OnlineCoins) ProtoMessage() {}
|
|
func (*OnlineCoins) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{48}
|
|
}
|
|
|
|
func (m *OnlineCoins) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_OnlineCoins.Unmarshal(m, b)
|
|
}
|
|
func (m *OnlineCoins) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_OnlineCoins.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *OnlineCoins) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_OnlineCoins.Merge(m, src)
|
|
}
|
|
func (m *OnlineCoins) XXX_Size() int {
|
|
return xxx_messageInfo_OnlineCoins.Size(m)
|
|
}
|
|
func (m *OnlineCoins) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_OnlineCoins.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_OnlineCoins proto.InternalMessageInfo
|
|
|
|
func (m *OnlineCoins) GetCoins() map[string]*OnlineCoinSummary {
|
|
if m != nil {
|
|
return m.Coins
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetPortfolioSummaryResponse struct {
|
|
CoinTotals []*Coin `protobuf:"bytes,1,rep,name=coin_totals,json=coinTotals,proto3" json:"coin_totals,omitempty"`
|
|
CoinsOffline []*Coin `protobuf:"bytes,2,rep,name=coins_offline,json=coinsOffline,proto3" json:"coins_offline,omitempty"`
|
|
CoinsOfflineSummary map[string]*OfflineCoins `protobuf:"bytes,3,rep,name=coins_offline_summary,json=coinsOfflineSummary,proto3" json:"coins_offline_summary,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
CoinsOnline []*Coin `protobuf:"bytes,4,rep,name=coins_online,json=coinsOnline,proto3" json:"coins_online,omitempty"`
|
|
CoinsOnlineSummary map[string]*OnlineCoins `protobuf:"bytes,5,rep,name=coins_online_summary,json=coinsOnlineSummary,proto3" json:"coins_online_summary,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetPortfolioSummaryResponse) Reset() { *m = GetPortfolioSummaryResponse{} }
|
|
func (m *GetPortfolioSummaryResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetPortfolioSummaryResponse) ProtoMessage() {}
|
|
func (*GetPortfolioSummaryResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{49}
|
|
}
|
|
|
|
func (m *GetPortfolioSummaryResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetPortfolioSummaryResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetPortfolioSummaryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetPortfolioSummaryResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetPortfolioSummaryResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetPortfolioSummaryResponse.Merge(m, src)
|
|
}
|
|
func (m *GetPortfolioSummaryResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetPortfolioSummaryResponse.Size(m)
|
|
}
|
|
func (m *GetPortfolioSummaryResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetPortfolioSummaryResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetPortfolioSummaryResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetPortfolioSummaryResponse) GetCoinTotals() []*Coin {
|
|
if m != nil {
|
|
return m.CoinTotals
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetPortfolioSummaryResponse) GetCoinsOffline() []*Coin {
|
|
if m != nil {
|
|
return m.CoinsOffline
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetPortfolioSummaryResponse) GetCoinsOfflineSummary() map[string]*OfflineCoins {
|
|
if m != nil {
|
|
return m.CoinsOfflineSummary
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetPortfolioSummaryResponse) GetCoinsOnline() []*Coin {
|
|
if m != nil {
|
|
return m.CoinsOnline
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetPortfolioSummaryResponse) GetCoinsOnlineSummary() map[string]*OnlineCoins {
|
|
if m != nil {
|
|
return m.CoinsOnlineSummary
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AddPortfolioAddressRequest struct {
|
|
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
|
CoinType string `protobuf:"bytes,2,opt,name=coin_type,json=coinType,proto3" json:"coin_type,omitempty"`
|
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
Balance float64 `protobuf:"fixed64,4,opt,name=balance,proto3" json:"balance,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AddPortfolioAddressRequest) Reset() { *m = AddPortfolioAddressRequest{} }
|
|
func (m *AddPortfolioAddressRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*AddPortfolioAddressRequest) ProtoMessage() {}
|
|
func (*AddPortfolioAddressRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{50}
|
|
}
|
|
|
|
func (m *AddPortfolioAddressRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AddPortfolioAddressRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *AddPortfolioAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AddPortfolioAddressRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AddPortfolioAddressRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AddPortfolioAddressRequest.Merge(m, src)
|
|
}
|
|
func (m *AddPortfolioAddressRequest) XXX_Size() int {
|
|
return xxx_messageInfo_AddPortfolioAddressRequest.Size(m)
|
|
}
|
|
func (m *AddPortfolioAddressRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AddPortfolioAddressRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AddPortfolioAddressRequest proto.InternalMessageInfo
|
|
|
|
func (m *AddPortfolioAddressRequest) GetAddress() string {
|
|
if m != nil {
|
|
return m.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *AddPortfolioAddressRequest) GetCoinType() string {
|
|
if m != nil {
|
|
return m.CoinType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *AddPortfolioAddressRequest) GetDescription() string {
|
|
if m != nil {
|
|
return m.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *AddPortfolioAddressRequest) GetBalance() float64 {
|
|
if m != nil {
|
|
return m.Balance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AddPortfolioAddressResponse struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AddPortfolioAddressResponse) Reset() { *m = AddPortfolioAddressResponse{} }
|
|
func (m *AddPortfolioAddressResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*AddPortfolioAddressResponse) ProtoMessage() {}
|
|
func (*AddPortfolioAddressResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{51}
|
|
}
|
|
|
|
func (m *AddPortfolioAddressResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AddPortfolioAddressResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *AddPortfolioAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AddPortfolioAddressResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AddPortfolioAddressResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AddPortfolioAddressResponse.Merge(m, src)
|
|
}
|
|
func (m *AddPortfolioAddressResponse) XXX_Size() int {
|
|
return xxx_messageInfo_AddPortfolioAddressResponse.Size(m)
|
|
}
|
|
func (m *AddPortfolioAddressResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AddPortfolioAddressResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AddPortfolioAddressResponse proto.InternalMessageInfo
|
|
|
|
type RemovePortfolioAddressRequest struct {
|
|
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
|
CoinType string `protobuf:"bytes,2,opt,name=coin_type,json=coinType,proto3" json:"coin_type,omitempty"`
|
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RemovePortfolioAddressRequest) Reset() { *m = RemovePortfolioAddressRequest{} }
|
|
func (m *RemovePortfolioAddressRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*RemovePortfolioAddressRequest) ProtoMessage() {}
|
|
func (*RemovePortfolioAddressRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{52}
|
|
}
|
|
|
|
func (m *RemovePortfolioAddressRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RemovePortfolioAddressRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *RemovePortfolioAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RemovePortfolioAddressRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *RemovePortfolioAddressRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RemovePortfolioAddressRequest.Merge(m, src)
|
|
}
|
|
func (m *RemovePortfolioAddressRequest) XXX_Size() int {
|
|
return xxx_messageInfo_RemovePortfolioAddressRequest.Size(m)
|
|
}
|
|
func (m *RemovePortfolioAddressRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RemovePortfolioAddressRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RemovePortfolioAddressRequest proto.InternalMessageInfo
|
|
|
|
func (m *RemovePortfolioAddressRequest) GetAddress() string {
|
|
if m != nil {
|
|
return m.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RemovePortfolioAddressRequest) GetCoinType() string {
|
|
if m != nil {
|
|
return m.CoinType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RemovePortfolioAddressRequest) GetDescription() string {
|
|
if m != nil {
|
|
return m.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RemovePortfolioAddressResponse struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RemovePortfolioAddressResponse) Reset() { *m = RemovePortfolioAddressResponse{} }
|
|
func (m *RemovePortfolioAddressResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*RemovePortfolioAddressResponse) ProtoMessage() {}
|
|
func (*RemovePortfolioAddressResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{53}
|
|
}
|
|
|
|
func (m *RemovePortfolioAddressResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RemovePortfolioAddressResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *RemovePortfolioAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RemovePortfolioAddressResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *RemovePortfolioAddressResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RemovePortfolioAddressResponse.Merge(m, src)
|
|
}
|
|
func (m *RemovePortfolioAddressResponse) XXX_Size() int {
|
|
return xxx_messageInfo_RemovePortfolioAddressResponse.Size(m)
|
|
}
|
|
func (m *RemovePortfolioAddressResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RemovePortfolioAddressResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RemovePortfolioAddressResponse proto.InternalMessageInfo
|
|
|
|
type GetForexProvidersRequest struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetForexProvidersRequest) Reset() { *m = GetForexProvidersRequest{} }
|
|
func (m *GetForexProvidersRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetForexProvidersRequest) ProtoMessage() {}
|
|
func (*GetForexProvidersRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{54}
|
|
}
|
|
|
|
func (m *GetForexProvidersRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetForexProvidersRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetForexProvidersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetForexProvidersRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetForexProvidersRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetForexProvidersRequest.Merge(m, src)
|
|
}
|
|
func (m *GetForexProvidersRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetForexProvidersRequest.Size(m)
|
|
}
|
|
func (m *GetForexProvidersRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetForexProvidersRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetForexProvidersRequest proto.InternalMessageInfo
|
|
|
|
type ForexProvider struct {
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
|
Verbose bool `protobuf:"varint,3,opt,name=verbose,proto3" json:"verbose,omitempty"`
|
|
RestPollingDelay string `protobuf:"bytes,4,opt,name=rest_polling_delay,json=restPollingDelay,proto3" json:"rest_polling_delay,omitempty"`
|
|
ApiKey string `protobuf:"bytes,5,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
|
|
ApiKeyLevel int64 `protobuf:"varint,6,opt,name=api_key_level,json=apiKeyLevel,proto3" json:"api_key_level,omitempty"`
|
|
PrimaryProvider bool `protobuf:"varint,7,opt,name=primary_provider,json=primaryProvider,proto3" json:"primary_provider,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ForexProvider) Reset() { *m = ForexProvider{} }
|
|
func (m *ForexProvider) String() string { return proto.CompactTextString(m) }
|
|
func (*ForexProvider) ProtoMessage() {}
|
|
func (*ForexProvider) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{55}
|
|
}
|
|
|
|
func (m *ForexProvider) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ForexProvider.Unmarshal(m, b)
|
|
}
|
|
func (m *ForexProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ForexProvider.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ForexProvider) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ForexProvider.Merge(m, src)
|
|
}
|
|
func (m *ForexProvider) XXX_Size() int {
|
|
return xxx_messageInfo_ForexProvider.Size(m)
|
|
}
|
|
func (m *ForexProvider) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ForexProvider.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ForexProvider proto.InternalMessageInfo
|
|
|
|
func (m *ForexProvider) GetName() string {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ForexProvider) GetEnabled() bool {
|
|
if m != nil {
|
|
return m.Enabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *ForexProvider) GetVerbose() bool {
|
|
if m != nil {
|
|
return m.Verbose
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *ForexProvider) GetRestPollingDelay() string {
|
|
if m != nil {
|
|
return m.RestPollingDelay
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ForexProvider) GetApiKey() string {
|
|
if m != nil {
|
|
return m.ApiKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ForexProvider) GetApiKeyLevel() int64 {
|
|
if m != nil {
|
|
return m.ApiKeyLevel
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ForexProvider) GetPrimaryProvider() bool {
|
|
if m != nil {
|
|
return m.PrimaryProvider
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetForexProvidersResponse struct {
|
|
ForexProviders []*ForexProvider `protobuf:"bytes,1,rep,name=forex_providers,json=forexProviders,proto3" json:"forex_providers,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetForexProvidersResponse) Reset() { *m = GetForexProvidersResponse{} }
|
|
func (m *GetForexProvidersResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetForexProvidersResponse) ProtoMessage() {}
|
|
func (*GetForexProvidersResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{56}
|
|
}
|
|
|
|
func (m *GetForexProvidersResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetForexProvidersResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetForexProvidersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetForexProvidersResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetForexProvidersResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetForexProvidersResponse.Merge(m, src)
|
|
}
|
|
func (m *GetForexProvidersResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetForexProvidersResponse.Size(m)
|
|
}
|
|
func (m *GetForexProvidersResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetForexProvidersResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetForexProvidersResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetForexProvidersResponse) GetForexProviders() []*ForexProvider {
|
|
if m != nil {
|
|
return m.ForexProviders
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetForexRatesRequest struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetForexRatesRequest) Reset() { *m = GetForexRatesRequest{} }
|
|
func (m *GetForexRatesRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetForexRatesRequest) ProtoMessage() {}
|
|
func (*GetForexRatesRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{57}
|
|
}
|
|
|
|
func (m *GetForexRatesRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetForexRatesRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetForexRatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetForexRatesRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetForexRatesRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetForexRatesRequest.Merge(m, src)
|
|
}
|
|
func (m *GetForexRatesRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetForexRatesRequest.Size(m)
|
|
}
|
|
func (m *GetForexRatesRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetForexRatesRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetForexRatesRequest proto.InternalMessageInfo
|
|
|
|
type ForexRatesConversion struct {
|
|
From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
|
|
To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
|
|
Rate float64 `protobuf:"fixed64,3,opt,name=rate,proto3" json:"rate,omitempty"`
|
|
InverseRate float64 `protobuf:"fixed64,4,opt,name=inverse_rate,json=inverseRate,proto3" json:"inverse_rate,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ForexRatesConversion) Reset() { *m = ForexRatesConversion{} }
|
|
func (m *ForexRatesConversion) String() string { return proto.CompactTextString(m) }
|
|
func (*ForexRatesConversion) ProtoMessage() {}
|
|
func (*ForexRatesConversion) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{58}
|
|
}
|
|
|
|
func (m *ForexRatesConversion) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ForexRatesConversion.Unmarshal(m, b)
|
|
}
|
|
func (m *ForexRatesConversion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ForexRatesConversion.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ForexRatesConversion) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ForexRatesConversion.Merge(m, src)
|
|
}
|
|
func (m *ForexRatesConversion) XXX_Size() int {
|
|
return xxx_messageInfo_ForexRatesConversion.Size(m)
|
|
}
|
|
func (m *ForexRatesConversion) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ForexRatesConversion.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ForexRatesConversion proto.InternalMessageInfo
|
|
|
|
func (m *ForexRatesConversion) GetFrom() string {
|
|
if m != nil {
|
|
return m.From
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ForexRatesConversion) GetTo() string {
|
|
if m != nil {
|
|
return m.To
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ForexRatesConversion) GetRate() float64 {
|
|
if m != nil {
|
|
return m.Rate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ForexRatesConversion) GetInverseRate() float64 {
|
|
if m != nil {
|
|
return m.InverseRate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetForexRatesResponse struct {
|
|
ForexRates []*ForexRatesConversion `protobuf:"bytes,1,rep,name=forex_rates,json=forexRates,proto3" json:"forex_rates,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetForexRatesResponse) Reset() { *m = GetForexRatesResponse{} }
|
|
func (m *GetForexRatesResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetForexRatesResponse) ProtoMessage() {}
|
|
func (*GetForexRatesResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{59}
|
|
}
|
|
|
|
func (m *GetForexRatesResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetForexRatesResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetForexRatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetForexRatesResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetForexRatesResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetForexRatesResponse.Merge(m, src)
|
|
}
|
|
func (m *GetForexRatesResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetForexRatesResponse.Size(m)
|
|
}
|
|
func (m *GetForexRatesResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetForexRatesResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetForexRatesResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetForexRatesResponse) GetForexRates() []*ForexRatesConversion {
|
|
if m != nil {
|
|
return m.ForexRates
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type OrderDetails struct {
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
BaseCurrency string `protobuf:"bytes,3,opt,name=base_currency,json=baseCurrency,proto3" json:"base_currency,omitempty"`
|
|
QuoteCurrency string `protobuf:"bytes,4,opt,name=quote_currency,json=quoteCurrency,proto3" json:"quote_currency,omitempty"`
|
|
AssetType string `protobuf:"bytes,5,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
OrderSide string `protobuf:"bytes,6,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"`
|
|
OrderType string `protobuf:"bytes,7,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"`
|
|
CreationTime int64 `protobuf:"varint,8,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
|
|
Status string `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"`
|
|
Price float64 `protobuf:"fixed64,10,opt,name=price,proto3" json:"price,omitempty"`
|
|
Amount float64 `protobuf:"fixed64,11,opt,name=amount,proto3" json:"amount,omitempty"`
|
|
OpenVolume float64 `protobuf:"fixed64,12,opt,name=open_volume,json=openVolume,proto3" json:"open_volume,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *OrderDetails) Reset() { *m = OrderDetails{} }
|
|
func (m *OrderDetails) String() string { return proto.CompactTextString(m) }
|
|
func (*OrderDetails) ProtoMessage() {}
|
|
func (*OrderDetails) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{60}
|
|
}
|
|
|
|
func (m *OrderDetails) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_OrderDetails.Unmarshal(m, b)
|
|
}
|
|
func (m *OrderDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_OrderDetails.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *OrderDetails) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_OrderDetails.Merge(m, src)
|
|
}
|
|
func (m *OrderDetails) XXX_Size() int {
|
|
return xxx_messageInfo_OrderDetails.Size(m)
|
|
}
|
|
func (m *OrderDetails) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_OrderDetails.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_OrderDetails proto.InternalMessageInfo
|
|
|
|
func (m *OrderDetails) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *OrderDetails) GetId() string {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *OrderDetails) GetBaseCurrency() string {
|
|
if m != nil {
|
|
return m.BaseCurrency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *OrderDetails) GetQuoteCurrency() string {
|
|
if m != nil {
|
|
return m.QuoteCurrency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *OrderDetails) GetAssetType() string {
|
|
if m != nil {
|
|
return m.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *OrderDetails) GetOrderSide() string {
|
|
if m != nil {
|
|
return m.OrderSide
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *OrderDetails) GetOrderType() string {
|
|
if m != nil {
|
|
return m.OrderType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *OrderDetails) GetCreationTime() int64 {
|
|
if m != nil {
|
|
return m.CreationTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *OrderDetails) GetStatus() string {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *OrderDetails) GetPrice() float64 {
|
|
if m != nil {
|
|
return m.Price
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *OrderDetails) GetAmount() float64 {
|
|
if m != nil {
|
|
return m.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *OrderDetails) GetOpenVolume() float64 {
|
|
if m != nil {
|
|
return m.OpenVolume
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetOrdersRequest struct {
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
AssetType string `protobuf:"bytes,2,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetOrdersRequest) Reset() { *m = GetOrdersRequest{} }
|
|
func (m *GetOrdersRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetOrdersRequest) ProtoMessage() {}
|
|
func (*GetOrdersRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{61}
|
|
}
|
|
|
|
func (m *GetOrdersRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetOrdersRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetOrdersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetOrdersRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetOrdersRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetOrdersRequest.Merge(m, src)
|
|
}
|
|
func (m *GetOrdersRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetOrdersRequest.Size(m)
|
|
}
|
|
func (m *GetOrdersRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetOrdersRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetOrdersRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetOrdersRequest) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetOrdersRequest) GetAssetType() string {
|
|
if m != nil {
|
|
return m.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetOrdersRequest) GetPair() *CurrencyPair {
|
|
if m != nil {
|
|
return m.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetOrdersResponse struct {
|
|
Orders []*OrderDetails `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetOrdersResponse) Reset() { *m = GetOrdersResponse{} }
|
|
func (m *GetOrdersResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetOrdersResponse) ProtoMessage() {}
|
|
func (*GetOrdersResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{62}
|
|
}
|
|
|
|
func (m *GetOrdersResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetOrdersResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetOrdersResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetOrdersResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetOrdersResponse.Merge(m, src)
|
|
}
|
|
func (m *GetOrdersResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetOrdersResponse.Size(m)
|
|
}
|
|
func (m *GetOrdersResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetOrdersResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetOrdersResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetOrdersResponse) GetOrders() []*OrderDetails {
|
|
if m != nil {
|
|
return m.Orders
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetOrderRequest struct {
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
OrderId string `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetOrderRequest) Reset() { *m = GetOrderRequest{} }
|
|
func (m *GetOrderRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetOrderRequest) ProtoMessage() {}
|
|
func (*GetOrderRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{63}
|
|
}
|
|
|
|
func (m *GetOrderRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetOrderRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetOrderRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetOrderRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetOrderRequest.Merge(m, src)
|
|
}
|
|
func (m *GetOrderRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetOrderRequest.Size(m)
|
|
}
|
|
func (m *GetOrderRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetOrderRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetOrderRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetOrderRequest) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetOrderRequest) GetOrderId() string {
|
|
if m != nil {
|
|
return m.OrderId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SubmitOrderRequest struct {
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
Side string `protobuf:"bytes,3,opt,name=side,proto3" json:"side,omitempty"`
|
|
OrderType string `protobuf:"bytes,4,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"`
|
|
Amount float64 `protobuf:"fixed64,5,opt,name=amount,proto3" json:"amount,omitempty"`
|
|
Price float64 `protobuf:"fixed64,6,opt,name=price,proto3" json:"price,omitempty"`
|
|
ClientId string `protobuf:"bytes,7,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SubmitOrderRequest) Reset() { *m = SubmitOrderRequest{} }
|
|
func (m *SubmitOrderRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*SubmitOrderRequest) ProtoMessage() {}
|
|
func (*SubmitOrderRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{64}
|
|
}
|
|
|
|
func (m *SubmitOrderRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SubmitOrderRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *SubmitOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SubmitOrderRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SubmitOrderRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SubmitOrderRequest.Merge(m, src)
|
|
}
|
|
func (m *SubmitOrderRequest) XXX_Size() int {
|
|
return xxx_messageInfo_SubmitOrderRequest.Size(m)
|
|
}
|
|
func (m *SubmitOrderRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SubmitOrderRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SubmitOrderRequest proto.InternalMessageInfo
|
|
|
|
func (m *SubmitOrderRequest) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SubmitOrderRequest) GetPair() *CurrencyPair {
|
|
if m != nil {
|
|
return m.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SubmitOrderRequest) GetSide() string {
|
|
if m != nil {
|
|
return m.Side
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SubmitOrderRequest) GetOrderType() string {
|
|
if m != nil {
|
|
return m.OrderType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SubmitOrderRequest) GetAmount() float64 {
|
|
if m != nil {
|
|
return m.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SubmitOrderRequest) GetPrice() float64 {
|
|
if m != nil {
|
|
return m.Price
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SubmitOrderRequest) GetClientId() string {
|
|
if m != nil {
|
|
return m.ClientId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SubmitOrderResponse struct {
|
|
OrderPlaced bool `protobuf:"varint,1,opt,name=order_placed,json=orderPlaced,proto3" json:"order_placed,omitempty"`
|
|
OrderId string `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SubmitOrderResponse) Reset() { *m = SubmitOrderResponse{} }
|
|
func (m *SubmitOrderResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*SubmitOrderResponse) ProtoMessage() {}
|
|
func (*SubmitOrderResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{65}
|
|
}
|
|
|
|
func (m *SubmitOrderResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SubmitOrderResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *SubmitOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SubmitOrderResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SubmitOrderResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SubmitOrderResponse.Merge(m, src)
|
|
}
|
|
func (m *SubmitOrderResponse) XXX_Size() int {
|
|
return xxx_messageInfo_SubmitOrderResponse.Size(m)
|
|
}
|
|
func (m *SubmitOrderResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SubmitOrderResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SubmitOrderResponse proto.InternalMessageInfo
|
|
|
|
func (m *SubmitOrderResponse) GetOrderPlaced() bool {
|
|
if m != nil {
|
|
return m.OrderPlaced
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *SubmitOrderResponse) GetOrderId() string {
|
|
if m != nil {
|
|
return m.OrderId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SimulateOrderRequest struct {
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
Amount float64 `protobuf:"fixed64,3,opt,name=amount,proto3" json:"amount,omitempty"`
|
|
Side string `protobuf:"bytes,4,opt,name=side,proto3" json:"side,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SimulateOrderRequest) Reset() { *m = SimulateOrderRequest{} }
|
|
func (m *SimulateOrderRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*SimulateOrderRequest) ProtoMessage() {}
|
|
func (*SimulateOrderRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{66}
|
|
}
|
|
|
|
func (m *SimulateOrderRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SimulateOrderRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *SimulateOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SimulateOrderRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SimulateOrderRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SimulateOrderRequest.Merge(m, src)
|
|
}
|
|
func (m *SimulateOrderRequest) XXX_Size() int {
|
|
return xxx_messageInfo_SimulateOrderRequest.Size(m)
|
|
}
|
|
func (m *SimulateOrderRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SimulateOrderRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SimulateOrderRequest proto.InternalMessageInfo
|
|
|
|
func (m *SimulateOrderRequest) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SimulateOrderRequest) GetPair() *CurrencyPair {
|
|
if m != nil {
|
|
return m.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SimulateOrderRequest) GetAmount() float64 {
|
|
if m != nil {
|
|
return m.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SimulateOrderRequest) GetSide() string {
|
|
if m != nil {
|
|
return m.Side
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SimulateOrderResponse struct {
|
|
Orders []*OrderbookItem `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
|
|
Amount float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"`
|
|
MinimumPrice float64 `protobuf:"fixed64,3,opt,name=minimum_price,json=minimumPrice,proto3" json:"minimum_price,omitempty"`
|
|
MaximumPrice float64 `protobuf:"fixed64,4,opt,name=maximum_price,json=maximumPrice,proto3" json:"maximum_price,omitempty"`
|
|
PercentageGainLoss float64 `protobuf:"fixed64,5,opt,name=percentage_gain_loss,json=percentageGainLoss,proto3" json:"percentage_gain_loss,omitempty"`
|
|
Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SimulateOrderResponse) Reset() { *m = SimulateOrderResponse{} }
|
|
func (m *SimulateOrderResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*SimulateOrderResponse) ProtoMessage() {}
|
|
func (*SimulateOrderResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{67}
|
|
}
|
|
|
|
func (m *SimulateOrderResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SimulateOrderResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *SimulateOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SimulateOrderResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SimulateOrderResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SimulateOrderResponse.Merge(m, src)
|
|
}
|
|
func (m *SimulateOrderResponse) XXX_Size() int {
|
|
return xxx_messageInfo_SimulateOrderResponse.Size(m)
|
|
}
|
|
func (m *SimulateOrderResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SimulateOrderResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SimulateOrderResponse proto.InternalMessageInfo
|
|
|
|
func (m *SimulateOrderResponse) GetOrders() []*OrderbookItem {
|
|
if m != nil {
|
|
return m.Orders
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SimulateOrderResponse) GetAmount() float64 {
|
|
if m != nil {
|
|
return m.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SimulateOrderResponse) GetMinimumPrice() float64 {
|
|
if m != nil {
|
|
return m.MinimumPrice
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SimulateOrderResponse) GetMaximumPrice() float64 {
|
|
if m != nil {
|
|
return m.MaximumPrice
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SimulateOrderResponse) GetPercentageGainLoss() float64 {
|
|
if m != nil {
|
|
return m.PercentageGainLoss
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SimulateOrderResponse) GetStatus() string {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type WhaleBombRequest struct {
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
PriceTarget float64 `protobuf:"fixed64,3,opt,name=price_target,json=priceTarget,proto3" json:"price_target,omitempty"`
|
|
Side string `protobuf:"bytes,4,opt,name=side,proto3" json:"side,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *WhaleBombRequest) Reset() { *m = WhaleBombRequest{} }
|
|
func (m *WhaleBombRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*WhaleBombRequest) ProtoMessage() {}
|
|
func (*WhaleBombRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{68}
|
|
}
|
|
|
|
func (m *WhaleBombRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_WhaleBombRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *WhaleBombRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_WhaleBombRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *WhaleBombRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_WhaleBombRequest.Merge(m, src)
|
|
}
|
|
func (m *WhaleBombRequest) XXX_Size() int {
|
|
return xxx_messageInfo_WhaleBombRequest.Size(m)
|
|
}
|
|
func (m *WhaleBombRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_WhaleBombRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_WhaleBombRequest proto.InternalMessageInfo
|
|
|
|
func (m *WhaleBombRequest) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WhaleBombRequest) GetPair() *CurrencyPair {
|
|
if m != nil {
|
|
return m.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *WhaleBombRequest) GetPriceTarget() float64 {
|
|
if m != nil {
|
|
return m.PriceTarget
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *WhaleBombRequest) GetSide() string {
|
|
if m != nil {
|
|
return m.Side
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CancelOrderRequest struct {
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
|
OrderId string `protobuf:"bytes,3,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,4,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
AssetType string `protobuf:"bytes,5,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
WalletAddress string `protobuf:"bytes,6,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"`
|
|
Side string `protobuf:"bytes,7,opt,name=side,proto3" json:"side,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CancelOrderRequest) Reset() { *m = CancelOrderRequest{} }
|
|
func (m *CancelOrderRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*CancelOrderRequest) ProtoMessage() {}
|
|
func (*CancelOrderRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{69}
|
|
}
|
|
|
|
func (m *CancelOrderRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CancelOrderRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *CancelOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CancelOrderRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CancelOrderRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CancelOrderRequest.Merge(m, src)
|
|
}
|
|
func (m *CancelOrderRequest) XXX_Size() int {
|
|
return xxx_messageInfo_CancelOrderRequest.Size(m)
|
|
}
|
|
func (m *CancelOrderRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CancelOrderRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CancelOrderRequest proto.InternalMessageInfo
|
|
|
|
func (m *CancelOrderRequest) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CancelOrderRequest) GetAccountId() string {
|
|
if m != nil {
|
|
return m.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CancelOrderRequest) GetOrderId() string {
|
|
if m != nil {
|
|
return m.OrderId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CancelOrderRequest) GetPair() *CurrencyPair {
|
|
if m != nil {
|
|
return m.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CancelOrderRequest) GetAssetType() string {
|
|
if m != nil {
|
|
return m.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CancelOrderRequest) GetWalletAddress() string {
|
|
if m != nil {
|
|
return m.WalletAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CancelOrderRequest) GetSide() string {
|
|
if m != nil {
|
|
return m.Side
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CancelOrderResponse struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CancelOrderResponse) Reset() { *m = CancelOrderResponse{} }
|
|
func (m *CancelOrderResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*CancelOrderResponse) ProtoMessage() {}
|
|
func (*CancelOrderResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{70}
|
|
}
|
|
|
|
func (m *CancelOrderResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CancelOrderResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *CancelOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CancelOrderResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CancelOrderResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CancelOrderResponse.Merge(m, src)
|
|
}
|
|
func (m *CancelOrderResponse) XXX_Size() int {
|
|
return xxx_messageInfo_CancelOrderResponse.Size(m)
|
|
}
|
|
func (m *CancelOrderResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CancelOrderResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CancelOrderResponse proto.InternalMessageInfo
|
|
|
|
type CancelAllOrdersRequest struct {
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CancelAllOrdersRequest) Reset() { *m = CancelAllOrdersRequest{} }
|
|
func (m *CancelAllOrdersRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*CancelAllOrdersRequest) ProtoMessage() {}
|
|
func (*CancelAllOrdersRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{71}
|
|
}
|
|
|
|
func (m *CancelAllOrdersRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CancelAllOrdersRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *CancelAllOrdersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CancelAllOrdersRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CancelAllOrdersRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CancelAllOrdersRequest.Merge(m, src)
|
|
}
|
|
func (m *CancelAllOrdersRequest) XXX_Size() int {
|
|
return xxx_messageInfo_CancelAllOrdersRequest.Size(m)
|
|
}
|
|
func (m *CancelAllOrdersRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CancelAllOrdersRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CancelAllOrdersRequest proto.InternalMessageInfo
|
|
|
|
func (m *CancelAllOrdersRequest) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CancelAllOrdersResponse struct {
|
|
Orders []*CancelAllOrdersResponse_Orders `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CancelAllOrdersResponse) Reset() { *m = CancelAllOrdersResponse{} }
|
|
func (m *CancelAllOrdersResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*CancelAllOrdersResponse) ProtoMessage() {}
|
|
func (*CancelAllOrdersResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{72}
|
|
}
|
|
|
|
func (m *CancelAllOrdersResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CancelAllOrdersResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *CancelAllOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CancelAllOrdersResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CancelAllOrdersResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CancelAllOrdersResponse.Merge(m, src)
|
|
}
|
|
func (m *CancelAllOrdersResponse) XXX_Size() int {
|
|
return xxx_messageInfo_CancelAllOrdersResponse.Size(m)
|
|
}
|
|
func (m *CancelAllOrdersResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CancelAllOrdersResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CancelAllOrdersResponse proto.InternalMessageInfo
|
|
|
|
func (m *CancelAllOrdersResponse) GetOrders() []*CancelAllOrdersResponse_Orders {
|
|
if m != nil {
|
|
return m.Orders
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CancelAllOrdersResponse_Orders struct {
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
OrderStatus map[string]string `protobuf:"bytes,2,rep,name=order_status,json=orderStatus,proto3" json:"order_status,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CancelAllOrdersResponse_Orders) Reset() { *m = CancelAllOrdersResponse_Orders{} }
|
|
func (m *CancelAllOrdersResponse_Orders) String() string { return proto.CompactTextString(m) }
|
|
func (*CancelAllOrdersResponse_Orders) ProtoMessage() {}
|
|
func (*CancelAllOrdersResponse_Orders) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{72, 0}
|
|
}
|
|
|
|
func (m *CancelAllOrdersResponse_Orders) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CancelAllOrdersResponse_Orders.Unmarshal(m, b)
|
|
}
|
|
func (m *CancelAllOrdersResponse_Orders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CancelAllOrdersResponse_Orders.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CancelAllOrdersResponse_Orders) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CancelAllOrdersResponse_Orders.Merge(m, src)
|
|
}
|
|
func (m *CancelAllOrdersResponse_Orders) XXX_Size() int {
|
|
return xxx_messageInfo_CancelAllOrdersResponse_Orders.Size(m)
|
|
}
|
|
func (m *CancelAllOrdersResponse_Orders) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CancelAllOrdersResponse_Orders.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CancelAllOrdersResponse_Orders proto.InternalMessageInfo
|
|
|
|
func (m *CancelAllOrdersResponse_Orders) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CancelAllOrdersResponse_Orders) GetOrderStatus() map[string]string {
|
|
if m != nil {
|
|
return m.OrderStatus
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetEventsRequest struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetEventsRequest) Reset() { *m = GetEventsRequest{} }
|
|
func (m *GetEventsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetEventsRequest) ProtoMessage() {}
|
|
func (*GetEventsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{73}
|
|
}
|
|
|
|
func (m *GetEventsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetEventsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetEventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetEventsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetEventsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetEventsRequest.Merge(m, src)
|
|
}
|
|
func (m *GetEventsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetEventsRequest.Size(m)
|
|
}
|
|
func (m *GetEventsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetEventsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetEventsRequest proto.InternalMessageInfo
|
|
|
|
type ConditionParams struct {
|
|
Condition string `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"`
|
|
Price float64 `protobuf:"fixed64,2,opt,name=price,proto3" json:"price,omitempty"`
|
|
CheckBids bool `protobuf:"varint,3,opt,name=check_bids,json=checkBids,proto3" json:"check_bids,omitempty"`
|
|
CheckBidsAndAsks bool `protobuf:"varint,4,opt,name=check_bids_and_asks,json=checkBidsAndAsks,proto3" json:"check_bids_and_asks,omitempty"`
|
|
OrderbookAmount float64 `protobuf:"fixed64,5,opt,name=orderbook_amount,json=orderbookAmount,proto3" json:"orderbook_amount,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ConditionParams) Reset() { *m = ConditionParams{} }
|
|
func (m *ConditionParams) String() string { return proto.CompactTextString(m) }
|
|
func (*ConditionParams) ProtoMessage() {}
|
|
func (*ConditionParams) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{74}
|
|
}
|
|
|
|
func (m *ConditionParams) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ConditionParams.Unmarshal(m, b)
|
|
}
|
|
func (m *ConditionParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ConditionParams.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ConditionParams) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ConditionParams.Merge(m, src)
|
|
}
|
|
func (m *ConditionParams) XXX_Size() int {
|
|
return xxx_messageInfo_ConditionParams.Size(m)
|
|
}
|
|
func (m *ConditionParams) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ConditionParams.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ConditionParams proto.InternalMessageInfo
|
|
|
|
func (m *ConditionParams) GetCondition() string {
|
|
if m != nil {
|
|
return m.Condition
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ConditionParams) GetPrice() float64 {
|
|
if m != nil {
|
|
return m.Price
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ConditionParams) GetCheckBids() bool {
|
|
if m != nil {
|
|
return m.CheckBids
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *ConditionParams) GetCheckBidsAndAsks() bool {
|
|
if m != nil {
|
|
return m.CheckBidsAndAsks
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *ConditionParams) GetOrderbookAmount() float64 {
|
|
if m != nil {
|
|
return m.OrderbookAmount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetEventsResponse struct {
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Exchange string `protobuf:"bytes,2,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Item string `protobuf:"bytes,3,opt,name=item,proto3" json:"item,omitempty"`
|
|
ConditionParams *ConditionParams `protobuf:"bytes,4,opt,name=condition_params,json=conditionParams,proto3" json:"condition_params,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,5,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
Action string `protobuf:"bytes,6,opt,name=action,proto3" json:"action,omitempty"`
|
|
Executed bool `protobuf:"varint,7,opt,name=executed,proto3" json:"executed,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetEventsResponse) Reset() { *m = GetEventsResponse{} }
|
|
func (m *GetEventsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetEventsResponse) ProtoMessage() {}
|
|
func (*GetEventsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{75}
|
|
}
|
|
|
|
func (m *GetEventsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetEventsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetEventsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetEventsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetEventsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetEventsResponse.Merge(m, src)
|
|
}
|
|
func (m *GetEventsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetEventsResponse.Size(m)
|
|
}
|
|
func (m *GetEventsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetEventsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetEventsResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetEventsResponse) GetId() int64 {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetEventsResponse) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetEventsResponse) GetItem() string {
|
|
if m != nil {
|
|
return m.Item
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetEventsResponse) GetConditionParams() *ConditionParams {
|
|
if m != nil {
|
|
return m.ConditionParams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetEventsResponse) GetPair() *CurrencyPair {
|
|
if m != nil {
|
|
return m.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetEventsResponse) GetAction() string {
|
|
if m != nil {
|
|
return m.Action
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetEventsResponse) GetExecuted() bool {
|
|
if m != nil {
|
|
return m.Executed
|
|
}
|
|
return false
|
|
}
|
|
|
|
type AddEventRequest struct {
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Item string `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
|
ConditionParams *ConditionParams `protobuf:"bytes,3,opt,name=condition_params,json=conditionParams,proto3" json:"condition_params,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,4,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
AssetType string `protobuf:"bytes,5,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
Action string `protobuf:"bytes,6,opt,name=action,proto3" json:"action,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AddEventRequest) Reset() { *m = AddEventRequest{} }
|
|
func (m *AddEventRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*AddEventRequest) ProtoMessage() {}
|
|
func (*AddEventRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{76}
|
|
}
|
|
|
|
func (m *AddEventRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AddEventRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *AddEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AddEventRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AddEventRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AddEventRequest.Merge(m, src)
|
|
}
|
|
func (m *AddEventRequest) XXX_Size() int {
|
|
return xxx_messageInfo_AddEventRequest.Size(m)
|
|
}
|
|
func (m *AddEventRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AddEventRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AddEventRequest proto.InternalMessageInfo
|
|
|
|
func (m *AddEventRequest) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *AddEventRequest) GetItem() string {
|
|
if m != nil {
|
|
return m.Item
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *AddEventRequest) GetConditionParams() *ConditionParams {
|
|
if m != nil {
|
|
return m.ConditionParams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *AddEventRequest) GetPair() *CurrencyPair {
|
|
if m != nil {
|
|
return m.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *AddEventRequest) GetAssetType() string {
|
|
if m != nil {
|
|
return m.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *AddEventRequest) GetAction() string {
|
|
if m != nil {
|
|
return m.Action
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AddEventResponse struct {
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AddEventResponse) Reset() { *m = AddEventResponse{} }
|
|
func (m *AddEventResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*AddEventResponse) ProtoMessage() {}
|
|
func (*AddEventResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{77}
|
|
}
|
|
|
|
func (m *AddEventResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AddEventResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *AddEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AddEventResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AddEventResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AddEventResponse.Merge(m, src)
|
|
}
|
|
func (m *AddEventResponse) XXX_Size() int {
|
|
return xxx_messageInfo_AddEventResponse.Size(m)
|
|
}
|
|
func (m *AddEventResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AddEventResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AddEventResponse proto.InternalMessageInfo
|
|
|
|
func (m *AddEventResponse) GetId() int64 {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RemoveEventRequest struct {
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RemoveEventRequest) Reset() { *m = RemoveEventRequest{} }
|
|
func (m *RemoveEventRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*RemoveEventRequest) ProtoMessage() {}
|
|
func (*RemoveEventRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{78}
|
|
}
|
|
|
|
func (m *RemoveEventRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RemoveEventRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *RemoveEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RemoveEventRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *RemoveEventRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RemoveEventRequest.Merge(m, src)
|
|
}
|
|
func (m *RemoveEventRequest) XXX_Size() int {
|
|
return xxx_messageInfo_RemoveEventRequest.Size(m)
|
|
}
|
|
func (m *RemoveEventRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RemoveEventRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RemoveEventRequest proto.InternalMessageInfo
|
|
|
|
func (m *RemoveEventRequest) GetId() int64 {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RemoveEventResponse struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RemoveEventResponse) Reset() { *m = RemoveEventResponse{} }
|
|
func (m *RemoveEventResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*RemoveEventResponse) ProtoMessage() {}
|
|
func (*RemoveEventResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{79}
|
|
}
|
|
|
|
func (m *RemoveEventResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RemoveEventResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *RemoveEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RemoveEventResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *RemoveEventResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RemoveEventResponse.Merge(m, src)
|
|
}
|
|
func (m *RemoveEventResponse) XXX_Size() int {
|
|
return xxx_messageInfo_RemoveEventResponse.Size(m)
|
|
}
|
|
func (m *RemoveEventResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RemoveEventResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RemoveEventResponse proto.InternalMessageInfo
|
|
|
|
type GetCryptocurrencyDepositAddressesRequest struct {
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetCryptocurrencyDepositAddressesRequest) Reset() {
|
|
*m = GetCryptocurrencyDepositAddressesRequest{}
|
|
}
|
|
func (m *GetCryptocurrencyDepositAddressesRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetCryptocurrencyDepositAddressesRequest) ProtoMessage() {}
|
|
func (*GetCryptocurrencyDepositAddressesRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{80}
|
|
}
|
|
|
|
func (m *GetCryptocurrencyDepositAddressesRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetCryptocurrencyDepositAddressesRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetCryptocurrencyDepositAddressesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetCryptocurrencyDepositAddressesRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetCryptocurrencyDepositAddressesRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetCryptocurrencyDepositAddressesRequest.Merge(m, src)
|
|
}
|
|
func (m *GetCryptocurrencyDepositAddressesRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetCryptocurrencyDepositAddressesRequest.Size(m)
|
|
}
|
|
func (m *GetCryptocurrencyDepositAddressesRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetCryptocurrencyDepositAddressesRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetCryptocurrencyDepositAddressesRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetCryptocurrencyDepositAddressesRequest) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetCryptocurrencyDepositAddressesResponse struct {
|
|
Addresses map[string]string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetCryptocurrencyDepositAddressesResponse) Reset() {
|
|
*m = GetCryptocurrencyDepositAddressesResponse{}
|
|
}
|
|
func (m *GetCryptocurrencyDepositAddressesResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetCryptocurrencyDepositAddressesResponse) ProtoMessage() {}
|
|
func (*GetCryptocurrencyDepositAddressesResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{81}
|
|
}
|
|
|
|
func (m *GetCryptocurrencyDepositAddressesResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetCryptocurrencyDepositAddressesResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetCryptocurrencyDepositAddressesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetCryptocurrencyDepositAddressesResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetCryptocurrencyDepositAddressesResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetCryptocurrencyDepositAddressesResponse.Merge(m, src)
|
|
}
|
|
func (m *GetCryptocurrencyDepositAddressesResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetCryptocurrencyDepositAddressesResponse.Size(m)
|
|
}
|
|
func (m *GetCryptocurrencyDepositAddressesResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetCryptocurrencyDepositAddressesResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetCryptocurrencyDepositAddressesResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetCryptocurrencyDepositAddressesResponse) GetAddresses() map[string]string {
|
|
if m != nil {
|
|
return m.Addresses
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetCryptocurrencyDepositAddressRequest struct {
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Cryptocurrency string `protobuf:"bytes,2,opt,name=cryptocurrency,proto3" json:"cryptocurrency,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetCryptocurrencyDepositAddressRequest) Reset() {
|
|
*m = GetCryptocurrencyDepositAddressRequest{}
|
|
}
|
|
func (m *GetCryptocurrencyDepositAddressRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetCryptocurrencyDepositAddressRequest) ProtoMessage() {}
|
|
func (*GetCryptocurrencyDepositAddressRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{82}
|
|
}
|
|
|
|
func (m *GetCryptocurrencyDepositAddressRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetCryptocurrencyDepositAddressRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetCryptocurrencyDepositAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetCryptocurrencyDepositAddressRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetCryptocurrencyDepositAddressRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetCryptocurrencyDepositAddressRequest.Merge(m, src)
|
|
}
|
|
func (m *GetCryptocurrencyDepositAddressRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetCryptocurrencyDepositAddressRequest.Size(m)
|
|
}
|
|
func (m *GetCryptocurrencyDepositAddressRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetCryptocurrencyDepositAddressRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetCryptocurrencyDepositAddressRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetCryptocurrencyDepositAddressRequest) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetCryptocurrencyDepositAddressRequest) GetCryptocurrency() string {
|
|
if m != nil {
|
|
return m.Cryptocurrency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetCryptocurrencyDepositAddressResponse struct {
|
|
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetCryptocurrencyDepositAddressResponse) Reset() {
|
|
*m = GetCryptocurrencyDepositAddressResponse{}
|
|
}
|
|
func (m *GetCryptocurrencyDepositAddressResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetCryptocurrencyDepositAddressResponse) ProtoMessage() {}
|
|
func (*GetCryptocurrencyDepositAddressResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{83}
|
|
}
|
|
|
|
func (m *GetCryptocurrencyDepositAddressResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetCryptocurrencyDepositAddressResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetCryptocurrencyDepositAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetCryptocurrencyDepositAddressResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetCryptocurrencyDepositAddressResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetCryptocurrencyDepositAddressResponse.Merge(m, src)
|
|
}
|
|
func (m *GetCryptocurrencyDepositAddressResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetCryptocurrencyDepositAddressResponse.Size(m)
|
|
}
|
|
func (m *GetCryptocurrencyDepositAddressResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetCryptocurrencyDepositAddressResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetCryptocurrencyDepositAddressResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetCryptocurrencyDepositAddressResponse) GetAddress() string {
|
|
if m != nil {
|
|
return m.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type WithdrawCurrencyRequest struct {
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
|
OneTimePassword string `protobuf:"bytes,3,opt,name=one_time_password,json=oneTimePassword,proto3" json:"one_time_password,omitempty"`
|
|
AccountId string `protobuf:"bytes,4,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
|
Pin int64 `protobuf:"varint,5,opt,name=pin,proto3" json:"pin,omitempty"`
|
|
TradePassword string `protobuf:"bytes,6,opt,name=trade_password,json=tradePassword,proto3" json:"trade_password,omitempty"`
|
|
Currency string `protobuf:"bytes,7,opt,name=currency,proto3" json:"currency,omitempty"`
|
|
Address string `protobuf:"bytes,8,opt,name=address,proto3" json:"address,omitempty"`
|
|
AddressTag string `protobuf:"bytes,9,opt,name=address_tag,json=addressTag,proto3" json:"address_tag,omitempty"`
|
|
Amount float64 `protobuf:"fixed64,10,opt,name=amount,proto3" json:"amount,omitempty"`
|
|
FeeAmount float64 `protobuf:"fixed64,11,opt,name=fee_amount,json=feeAmount,proto3" json:"fee_amount,omitempty"`
|
|
BankName string `protobuf:"bytes,12,opt,name=bank_name,json=bankName,proto3" json:"bank_name,omitempty"`
|
|
BankAddress string `protobuf:"bytes,13,opt,name=bank_address,json=bankAddress,proto3" json:"bank_address,omitempty"`
|
|
BankCity string `protobuf:"bytes,14,opt,name=bank_city,json=bankCity,proto3" json:"bank_city,omitempty"`
|
|
BankCountry string `protobuf:"bytes,15,opt,name=bank_country,json=bankCountry,proto3" json:"bank_country,omitempty"`
|
|
SwifeCode string `protobuf:"bytes,16,opt,name=swife_code,json=swifeCode,proto3" json:"swife_code,omitempty"`
|
|
WireCurrency string `protobuf:"bytes,17,opt,name=wire_currency,json=wireCurrency,proto3" json:"wire_currency,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *WithdrawCurrencyRequest) Reset() { *m = WithdrawCurrencyRequest{} }
|
|
func (m *WithdrawCurrencyRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*WithdrawCurrencyRequest) ProtoMessage() {}
|
|
func (*WithdrawCurrencyRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{84}
|
|
}
|
|
|
|
func (m *WithdrawCurrencyRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_WithdrawCurrencyRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *WithdrawCurrencyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_WithdrawCurrencyRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *WithdrawCurrencyRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_WithdrawCurrencyRequest.Merge(m, src)
|
|
}
|
|
func (m *WithdrawCurrencyRequest) XXX_Size() int {
|
|
return xxx_messageInfo_WithdrawCurrencyRequest.Size(m)
|
|
}
|
|
func (m *WithdrawCurrencyRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_WithdrawCurrencyRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_WithdrawCurrencyRequest proto.InternalMessageInfo
|
|
|
|
func (m *WithdrawCurrencyRequest) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WithdrawCurrencyRequest) GetDescription() string {
|
|
if m != nil {
|
|
return m.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WithdrawCurrencyRequest) GetOneTimePassword() string {
|
|
if m != nil {
|
|
return m.OneTimePassword
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WithdrawCurrencyRequest) GetAccountId() string {
|
|
if m != nil {
|
|
return m.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WithdrawCurrencyRequest) GetPin() int64 {
|
|
if m != nil {
|
|
return m.Pin
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *WithdrawCurrencyRequest) GetTradePassword() string {
|
|
if m != nil {
|
|
return m.TradePassword
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WithdrawCurrencyRequest) GetCurrency() string {
|
|
if m != nil {
|
|
return m.Currency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WithdrawCurrencyRequest) GetAddress() string {
|
|
if m != nil {
|
|
return m.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WithdrawCurrencyRequest) GetAddressTag() string {
|
|
if m != nil {
|
|
return m.AddressTag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WithdrawCurrencyRequest) GetAmount() float64 {
|
|
if m != nil {
|
|
return m.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *WithdrawCurrencyRequest) GetFeeAmount() float64 {
|
|
if m != nil {
|
|
return m.FeeAmount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *WithdrawCurrencyRequest) GetBankName() string {
|
|
if m != nil {
|
|
return m.BankName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WithdrawCurrencyRequest) GetBankAddress() string {
|
|
if m != nil {
|
|
return m.BankAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WithdrawCurrencyRequest) GetBankCity() string {
|
|
if m != nil {
|
|
return m.BankCity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WithdrawCurrencyRequest) GetBankCountry() string {
|
|
if m != nil {
|
|
return m.BankCountry
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WithdrawCurrencyRequest) GetSwifeCode() string {
|
|
if m != nil {
|
|
return m.SwifeCode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WithdrawCurrencyRequest) GetWireCurrency() string {
|
|
if m != nil {
|
|
return m.WireCurrency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type WithdrawResponse struct {
|
|
Result string `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *WithdrawResponse) Reset() { *m = WithdrawResponse{} }
|
|
func (m *WithdrawResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*WithdrawResponse) ProtoMessage() {}
|
|
func (*WithdrawResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{85}
|
|
}
|
|
|
|
func (m *WithdrawResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_WithdrawResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *WithdrawResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_WithdrawResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *WithdrawResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_WithdrawResponse.Merge(m, src)
|
|
}
|
|
func (m *WithdrawResponse) XXX_Size() int {
|
|
return xxx_messageInfo_WithdrawResponse.Size(m)
|
|
}
|
|
func (m *WithdrawResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_WithdrawResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_WithdrawResponse proto.InternalMessageInfo
|
|
|
|
func (m *WithdrawResponse) GetResult() string {
|
|
if m != nil {
|
|
return m.Result
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetLoggerDetailsRequest struct {
|
|
Logger string `protobuf:"bytes,1,opt,name=logger,proto3" json:"logger,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetLoggerDetailsRequest) Reset() { *m = GetLoggerDetailsRequest{} }
|
|
func (m *GetLoggerDetailsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetLoggerDetailsRequest) ProtoMessage() {}
|
|
func (*GetLoggerDetailsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{86}
|
|
}
|
|
|
|
func (m *GetLoggerDetailsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetLoggerDetailsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetLoggerDetailsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetLoggerDetailsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetLoggerDetailsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetLoggerDetailsRequest.Merge(m, src)
|
|
}
|
|
func (m *GetLoggerDetailsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetLoggerDetailsRequest.Size(m)
|
|
}
|
|
func (m *GetLoggerDetailsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetLoggerDetailsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetLoggerDetailsRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetLoggerDetailsRequest) GetLogger() string {
|
|
if m != nil {
|
|
return m.Logger
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetLoggerDetailsResponse struct {
|
|
Info bool `protobuf:"varint,1,opt,name=info,proto3" json:"info,omitempty"`
|
|
Debug bool `protobuf:"varint,2,opt,name=debug,proto3" json:"debug,omitempty"`
|
|
Warn bool `protobuf:"varint,3,opt,name=warn,proto3" json:"warn,omitempty"`
|
|
Error bool `protobuf:"varint,4,opt,name=error,proto3" json:"error,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetLoggerDetailsResponse) Reset() { *m = GetLoggerDetailsResponse{} }
|
|
func (m *GetLoggerDetailsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetLoggerDetailsResponse) ProtoMessage() {}
|
|
func (*GetLoggerDetailsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{87}
|
|
}
|
|
|
|
func (m *GetLoggerDetailsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetLoggerDetailsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetLoggerDetailsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetLoggerDetailsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetLoggerDetailsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetLoggerDetailsResponse.Merge(m, src)
|
|
}
|
|
func (m *GetLoggerDetailsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetLoggerDetailsResponse.Size(m)
|
|
}
|
|
func (m *GetLoggerDetailsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetLoggerDetailsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetLoggerDetailsResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetLoggerDetailsResponse) GetInfo() bool {
|
|
if m != nil {
|
|
return m.Info
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *GetLoggerDetailsResponse) GetDebug() bool {
|
|
if m != nil {
|
|
return m.Debug
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *GetLoggerDetailsResponse) GetWarn() bool {
|
|
if m != nil {
|
|
return m.Warn
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *GetLoggerDetailsResponse) GetError() bool {
|
|
if m != nil {
|
|
return m.Error
|
|
}
|
|
return false
|
|
}
|
|
|
|
type SetLoggerDetailsRequest struct {
|
|
Logger string `protobuf:"bytes,1,opt,name=logger,proto3" json:"logger,omitempty"`
|
|
Level string `protobuf:"bytes,2,opt,name=level,proto3" json:"level,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SetLoggerDetailsRequest) Reset() { *m = SetLoggerDetailsRequest{} }
|
|
func (m *SetLoggerDetailsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*SetLoggerDetailsRequest) ProtoMessage() {}
|
|
func (*SetLoggerDetailsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{88}
|
|
}
|
|
|
|
func (m *SetLoggerDetailsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SetLoggerDetailsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *SetLoggerDetailsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SetLoggerDetailsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SetLoggerDetailsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SetLoggerDetailsRequest.Merge(m, src)
|
|
}
|
|
func (m *SetLoggerDetailsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_SetLoggerDetailsRequest.Size(m)
|
|
}
|
|
func (m *SetLoggerDetailsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SetLoggerDetailsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SetLoggerDetailsRequest proto.InternalMessageInfo
|
|
|
|
func (m *SetLoggerDetailsRequest) GetLogger() string {
|
|
if m != nil {
|
|
return m.Logger
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SetLoggerDetailsRequest) GetLevel() string {
|
|
if m != nil {
|
|
return m.Level
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetExchangePairsRequest struct {
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetExchangePairsRequest) Reset() { *m = GetExchangePairsRequest{} }
|
|
func (m *GetExchangePairsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetExchangePairsRequest) ProtoMessage() {}
|
|
func (*GetExchangePairsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{89}
|
|
}
|
|
|
|
func (m *GetExchangePairsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetExchangePairsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetExchangePairsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetExchangePairsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetExchangePairsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetExchangePairsRequest.Merge(m, src)
|
|
}
|
|
func (m *GetExchangePairsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetExchangePairsRequest.Size(m)
|
|
}
|
|
func (m *GetExchangePairsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetExchangePairsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetExchangePairsRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetExchangePairsRequest) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetExchangePairsRequest) GetAsset() string {
|
|
if m != nil {
|
|
return m.Asset
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetExchangePairsResponse struct {
|
|
SupportedAssets map[string]*PairsSupported `protobuf:"bytes,1,rep,name=supported_assets,json=supportedAssets,proto3" json:"supported_assets,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetExchangePairsResponse) Reset() { *m = GetExchangePairsResponse{} }
|
|
func (m *GetExchangePairsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetExchangePairsResponse) ProtoMessage() {}
|
|
func (*GetExchangePairsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{90}
|
|
}
|
|
|
|
func (m *GetExchangePairsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetExchangePairsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetExchangePairsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetExchangePairsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetExchangePairsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetExchangePairsResponse.Merge(m, src)
|
|
}
|
|
func (m *GetExchangePairsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetExchangePairsResponse.Size(m)
|
|
}
|
|
func (m *GetExchangePairsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetExchangePairsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetExchangePairsResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetExchangePairsResponse) GetSupportedAssets() map[string]*PairsSupported {
|
|
if m != nil {
|
|
return m.SupportedAssets
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ExchangePairRequest struct {
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
AssetType string `protobuf:"bytes,2,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ExchangePairRequest) Reset() { *m = ExchangePairRequest{} }
|
|
func (m *ExchangePairRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ExchangePairRequest) ProtoMessage() {}
|
|
func (*ExchangePairRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{91}
|
|
}
|
|
|
|
func (m *ExchangePairRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ExchangePairRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ExchangePairRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ExchangePairRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ExchangePairRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ExchangePairRequest.Merge(m, src)
|
|
}
|
|
func (m *ExchangePairRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ExchangePairRequest.Size(m)
|
|
}
|
|
func (m *ExchangePairRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ExchangePairRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ExchangePairRequest proto.InternalMessageInfo
|
|
|
|
func (m *ExchangePairRequest) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ExchangePairRequest) GetAssetType() string {
|
|
if m != nil {
|
|
return m.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ExchangePairRequest) GetPair() *CurrencyPair {
|
|
if m != nil {
|
|
return m.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetOrderbookStreamRequest struct {
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
AssetType string `protobuf:"bytes,3,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetOrderbookStreamRequest) Reset() { *m = GetOrderbookStreamRequest{} }
|
|
func (m *GetOrderbookStreamRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetOrderbookStreamRequest) ProtoMessage() {}
|
|
func (*GetOrderbookStreamRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{92}
|
|
}
|
|
|
|
func (m *GetOrderbookStreamRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetOrderbookStreamRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetOrderbookStreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetOrderbookStreamRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetOrderbookStreamRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetOrderbookStreamRequest.Merge(m, src)
|
|
}
|
|
func (m *GetOrderbookStreamRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetOrderbookStreamRequest.Size(m)
|
|
}
|
|
func (m *GetOrderbookStreamRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetOrderbookStreamRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetOrderbookStreamRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetOrderbookStreamRequest) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetOrderbookStreamRequest) GetPair() *CurrencyPair {
|
|
if m != nil {
|
|
return m.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetOrderbookStreamRequest) GetAssetType() string {
|
|
if m != nil {
|
|
return m.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetExchangeOrderbookStreamRequest struct {
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetExchangeOrderbookStreamRequest) Reset() { *m = GetExchangeOrderbookStreamRequest{} }
|
|
func (m *GetExchangeOrderbookStreamRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetExchangeOrderbookStreamRequest) ProtoMessage() {}
|
|
func (*GetExchangeOrderbookStreamRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{93}
|
|
}
|
|
|
|
func (m *GetExchangeOrderbookStreamRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetExchangeOrderbookStreamRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetExchangeOrderbookStreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetExchangeOrderbookStreamRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetExchangeOrderbookStreamRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetExchangeOrderbookStreamRequest.Merge(m, src)
|
|
}
|
|
func (m *GetExchangeOrderbookStreamRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetExchangeOrderbookStreamRequest.Size(m)
|
|
}
|
|
func (m *GetExchangeOrderbookStreamRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetExchangeOrderbookStreamRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetExchangeOrderbookStreamRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetExchangeOrderbookStreamRequest) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetTickerStreamRequest struct {
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
Pair *CurrencyPair `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"`
|
|
AssetType string `protobuf:"bytes,3,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetTickerStreamRequest) Reset() { *m = GetTickerStreamRequest{} }
|
|
func (m *GetTickerStreamRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetTickerStreamRequest) ProtoMessage() {}
|
|
func (*GetTickerStreamRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{94}
|
|
}
|
|
|
|
func (m *GetTickerStreamRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetTickerStreamRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetTickerStreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetTickerStreamRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetTickerStreamRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetTickerStreamRequest.Merge(m, src)
|
|
}
|
|
func (m *GetTickerStreamRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetTickerStreamRequest.Size(m)
|
|
}
|
|
func (m *GetTickerStreamRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetTickerStreamRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetTickerStreamRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetTickerStreamRequest) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetTickerStreamRequest) GetPair() *CurrencyPair {
|
|
if m != nil {
|
|
return m.Pair
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetTickerStreamRequest) GetAssetType() string {
|
|
if m != nil {
|
|
return m.AssetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetExchangeTickerStreamRequest struct {
|
|
Exchange string `protobuf:"bytes,1,opt,name=exchange,proto3" json:"exchange,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetExchangeTickerStreamRequest) Reset() { *m = GetExchangeTickerStreamRequest{} }
|
|
func (m *GetExchangeTickerStreamRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetExchangeTickerStreamRequest) ProtoMessage() {}
|
|
func (*GetExchangeTickerStreamRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{95}
|
|
}
|
|
|
|
func (m *GetExchangeTickerStreamRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetExchangeTickerStreamRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetExchangeTickerStreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetExchangeTickerStreamRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetExchangeTickerStreamRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetExchangeTickerStreamRequest.Merge(m, src)
|
|
}
|
|
func (m *GetExchangeTickerStreamRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetExchangeTickerStreamRequest.Size(m)
|
|
}
|
|
func (m *GetExchangeTickerStreamRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetExchangeTickerStreamRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetExchangeTickerStreamRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetExchangeTickerStreamRequest) GetExchange() string {
|
|
if m != nil {
|
|
return m.Exchange
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetAuditEventRequest struct {
|
|
StartDate string `protobuf:"bytes,1,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
|
|
EndDate string `protobuf:"bytes,2,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
|
|
OrderBy string `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
|
|
Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
Offset int32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetAuditEventRequest) Reset() { *m = GetAuditEventRequest{} }
|
|
func (m *GetAuditEventRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetAuditEventRequest) ProtoMessage() {}
|
|
func (*GetAuditEventRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{96}
|
|
}
|
|
|
|
func (m *GetAuditEventRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetAuditEventRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetAuditEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetAuditEventRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetAuditEventRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetAuditEventRequest.Merge(m, src)
|
|
}
|
|
func (m *GetAuditEventRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetAuditEventRequest.Size(m)
|
|
}
|
|
func (m *GetAuditEventRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetAuditEventRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetAuditEventRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetAuditEventRequest) GetStartDate() string {
|
|
if m != nil {
|
|
return m.StartDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetAuditEventRequest) GetEndDate() string {
|
|
if m != nil {
|
|
return m.EndDate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetAuditEventRequest) GetOrderBy() string {
|
|
if m != nil {
|
|
return m.OrderBy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetAuditEventRequest) GetLimit() int32 {
|
|
if m != nil {
|
|
return m.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetAuditEventRequest) GetOffset() int32 {
|
|
if m != nil {
|
|
return m.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetAuditEventResponse struct {
|
|
Events []*AuditEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetAuditEventResponse) Reset() { *m = GetAuditEventResponse{} }
|
|
func (m *GetAuditEventResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetAuditEventResponse) ProtoMessage() {}
|
|
func (*GetAuditEventResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{97}
|
|
}
|
|
|
|
func (m *GetAuditEventResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetAuditEventResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetAuditEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetAuditEventResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetAuditEventResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetAuditEventResponse.Merge(m, src)
|
|
}
|
|
func (m *GetAuditEventResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetAuditEventResponse.Size(m)
|
|
}
|
|
func (m *GetAuditEventResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetAuditEventResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetAuditEventResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetAuditEventResponse) GetEvents() []*AuditEvent {
|
|
if m != nil {
|
|
return m.Events
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AuditEvent struct {
|
|
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
|
Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Timestamp string `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AuditEvent) Reset() { *m = AuditEvent{} }
|
|
func (m *AuditEvent) String() string { return proto.CompactTextString(m) }
|
|
func (*AuditEvent) ProtoMessage() {}
|
|
func (*AuditEvent) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_77a6da22d6a3feb1, []int{98}
|
|
}
|
|
|
|
func (m *AuditEvent) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AuditEvent.Unmarshal(m, b)
|
|
}
|
|
func (m *AuditEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AuditEvent.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AuditEvent) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AuditEvent.Merge(m, src)
|
|
}
|
|
func (m *AuditEvent) XXX_Size() int {
|
|
return xxx_messageInfo_AuditEvent.Size(m)
|
|
}
|
|
func (m *AuditEvent) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AuditEvent.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AuditEvent proto.InternalMessageInfo
|
|
|
|
func (m *AuditEvent) GetType() string {
|
|
if m != nil {
|
|
return m.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *AuditEvent) GetIdentifier() string {
|
|
if m != nil {
|
|
return m.Identifier
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *AuditEvent) GetMessage() string {
|
|
if m != nil {
|
|
return m.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *AuditEvent) GetTimestamp() string {
|
|
if m != nil {
|
|
return m.Timestamp
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*GetInfoRequest)(nil), "gctrpc.GetInfoRequest")
|
|
proto.RegisterType((*GetInfoResponse)(nil), "gctrpc.GetInfoResponse")
|
|
proto.RegisterMapType((map[string]*RPCEndpoint)(nil), "gctrpc.GetInfoResponse.RpcEndpointsEntry")
|
|
proto.RegisterMapType((map[string]bool)(nil), "gctrpc.GetInfoResponse.SubsystemStatusEntry")
|
|
proto.RegisterType((*GetCommunicationRelayersRequest)(nil), "gctrpc.GetCommunicationRelayersRequest")
|
|
proto.RegisterType((*CommunicationRelayer)(nil), "gctrpc.CommunicationRelayer")
|
|
proto.RegisterType((*GetCommunicationRelayersResponse)(nil), "gctrpc.GetCommunicationRelayersResponse")
|
|
proto.RegisterMapType((map[string]*CommunicationRelayer)(nil), "gctrpc.GetCommunicationRelayersResponse.CommunicationRelayersEntry")
|
|
proto.RegisterType((*GenericSubsystemRequest)(nil), "gctrpc.GenericSubsystemRequest")
|
|
proto.RegisterType((*GenericSubsystemResponse)(nil), "gctrpc.GenericSubsystemResponse")
|
|
proto.RegisterType((*GetSubsystemsRequest)(nil), "gctrpc.GetSubsystemsRequest")
|
|
proto.RegisterType((*GetSusbsytemsResponse)(nil), "gctrpc.GetSusbsytemsResponse")
|
|
proto.RegisterMapType((map[string]bool)(nil), "gctrpc.GetSusbsytemsResponse.SubsystemsStatusEntry")
|
|
proto.RegisterType((*GetRPCEndpointsRequest)(nil), "gctrpc.GetRPCEndpointsRequest")
|
|
proto.RegisterType((*RPCEndpoint)(nil), "gctrpc.RPCEndpoint")
|
|
proto.RegisterType((*GetRPCEndpointsResponse)(nil), "gctrpc.GetRPCEndpointsResponse")
|
|
proto.RegisterMapType((map[string]*RPCEndpoint)(nil), "gctrpc.GetRPCEndpointsResponse.EndpointsEntry")
|
|
proto.RegisterType((*GenericExchangeNameRequest)(nil), "gctrpc.GenericExchangeNameRequest")
|
|
proto.RegisterType((*GenericExchangeNameResponse)(nil), "gctrpc.GenericExchangeNameResponse")
|
|
proto.RegisterType((*GetExchangesRequest)(nil), "gctrpc.GetExchangesRequest")
|
|
proto.RegisterType((*GetExchangesResponse)(nil), "gctrpc.GetExchangesResponse")
|
|
proto.RegisterType((*GetExchangeOTPReponse)(nil), "gctrpc.GetExchangeOTPReponse")
|
|
proto.RegisterType((*GetExchangeOTPsRequest)(nil), "gctrpc.GetExchangeOTPsRequest")
|
|
proto.RegisterType((*GetExchangeOTPsResponse)(nil), "gctrpc.GetExchangeOTPsResponse")
|
|
proto.RegisterMapType((map[string]string)(nil), "gctrpc.GetExchangeOTPsResponse.OtpCodesEntry")
|
|
proto.RegisterType((*DisableExchangeRequest)(nil), "gctrpc.DisableExchangeRequest")
|
|
proto.RegisterType((*PairsSupported)(nil), "gctrpc.PairsSupported")
|
|
proto.RegisterType((*GetExchangeInfoResponse)(nil), "gctrpc.GetExchangeInfoResponse")
|
|
proto.RegisterMapType((map[string]*PairsSupported)(nil), "gctrpc.GetExchangeInfoResponse.SupportedAssetsEntry")
|
|
proto.RegisterType((*GetTickerRequest)(nil), "gctrpc.GetTickerRequest")
|
|
proto.RegisterType((*CurrencyPair)(nil), "gctrpc.CurrencyPair")
|
|
proto.RegisterType((*TickerResponse)(nil), "gctrpc.TickerResponse")
|
|
proto.RegisterType((*GetTickersRequest)(nil), "gctrpc.GetTickersRequest")
|
|
proto.RegisterType((*Tickers)(nil), "gctrpc.Tickers")
|
|
proto.RegisterType((*GetTickersResponse)(nil), "gctrpc.GetTickersResponse")
|
|
proto.RegisterType((*GetOrderbookRequest)(nil), "gctrpc.GetOrderbookRequest")
|
|
proto.RegisterType((*OrderbookItem)(nil), "gctrpc.OrderbookItem")
|
|
proto.RegisterType((*OrderbookResponse)(nil), "gctrpc.OrderbookResponse")
|
|
proto.RegisterType((*GetOrderbooksRequest)(nil), "gctrpc.GetOrderbooksRequest")
|
|
proto.RegisterType((*Orderbooks)(nil), "gctrpc.Orderbooks")
|
|
proto.RegisterType((*GetOrderbooksResponse)(nil), "gctrpc.GetOrderbooksResponse")
|
|
proto.RegisterType((*GetAccountInfoRequest)(nil), "gctrpc.GetAccountInfoRequest")
|
|
proto.RegisterType((*Account)(nil), "gctrpc.Account")
|
|
proto.RegisterType((*AccountCurrencyInfo)(nil), "gctrpc.AccountCurrencyInfo")
|
|
proto.RegisterType((*GetAccountInfoResponse)(nil), "gctrpc.GetAccountInfoResponse")
|
|
proto.RegisterType((*GetConfigRequest)(nil), "gctrpc.GetConfigRequest")
|
|
proto.RegisterType((*GetConfigResponse)(nil), "gctrpc.GetConfigResponse")
|
|
proto.RegisterType((*PortfolioAddress)(nil), "gctrpc.PortfolioAddress")
|
|
proto.RegisterType((*GetPortfolioRequest)(nil), "gctrpc.GetPortfolioRequest")
|
|
proto.RegisterType((*GetPortfolioResponse)(nil), "gctrpc.GetPortfolioResponse")
|
|
proto.RegisterType((*GetPortfolioSummaryRequest)(nil), "gctrpc.GetPortfolioSummaryRequest")
|
|
proto.RegisterType((*Coin)(nil), "gctrpc.Coin")
|
|
proto.RegisterType((*OfflineCoinSummary)(nil), "gctrpc.OfflineCoinSummary")
|
|
proto.RegisterType((*OnlineCoinSummary)(nil), "gctrpc.OnlineCoinSummary")
|
|
proto.RegisterType((*OfflineCoins)(nil), "gctrpc.OfflineCoins")
|
|
proto.RegisterType((*OnlineCoins)(nil), "gctrpc.OnlineCoins")
|
|
proto.RegisterMapType((map[string]*OnlineCoinSummary)(nil), "gctrpc.OnlineCoins.CoinsEntry")
|
|
proto.RegisterType((*GetPortfolioSummaryResponse)(nil), "gctrpc.GetPortfolioSummaryResponse")
|
|
proto.RegisterMapType((map[string]*OfflineCoins)(nil), "gctrpc.GetPortfolioSummaryResponse.CoinsOfflineSummaryEntry")
|
|
proto.RegisterMapType((map[string]*OnlineCoins)(nil), "gctrpc.GetPortfolioSummaryResponse.CoinsOnlineSummaryEntry")
|
|
proto.RegisterType((*AddPortfolioAddressRequest)(nil), "gctrpc.AddPortfolioAddressRequest")
|
|
proto.RegisterType((*AddPortfolioAddressResponse)(nil), "gctrpc.AddPortfolioAddressResponse")
|
|
proto.RegisterType((*RemovePortfolioAddressRequest)(nil), "gctrpc.RemovePortfolioAddressRequest")
|
|
proto.RegisterType((*RemovePortfolioAddressResponse)(nil), "gctrpc.RemovePortfolioAddressResponse")
|
|
proto.RegisterType((*GetForexProvidersRequest)(nil), "gctrpc.GetForexProvidersRequest")
|
|
proto.RegisterType((*ForexProvider)(nil), "gctrpc.ForexProvider")
|
|
proto.RegisterType((*GetForexProvidersResponse)(nil), "gctrpc.GetForexProvidersResponse")
|
|
proto.RegisterType((*GetForexRatesRequest)(nil), "gctrpc.GetForexRatesRequest")
|
|
proto.RegisterType((*ForexRatesConversion)(nil), "gctrpc.ForexRatesConversion")
|
|
proto.RegisterType((*GetForexRatesResponse)(nil), "gctrpc.GetForexRatesResponse")
|
|
proto.RegisterType((*OrderDetails)(nil), "gctrpc.OrderDetails")
|
|
proto.RegisterType((*GetOrdersRequest)(nil), "gctrpc.GetOrdersRequest")
|
|
proto.RegisterType((*GetOrdersResponse)(nil), "gctrpc.GetOrdersResponse")
|
|
proto.RegisterType((*GetOrderRequest)(nil), "gctrpc.GetOrderRequest")
|
|
proto.RegisterType((*SubmitOrderRequest)(nil), "gctrpc.SubmitOrderRequest")
|
|
proto.RegisterType((*SubmitOrderResponse)(nil), "gctrpc.SubmitOrderResponse")
|
|
proto.RegisterType((*SimulateOrderRequest)(nil), "gctrpc.SimulateOrderRequest")
|
|
proto.RegisterType((*SimulateOrderResponse)(nil), "gctrpc.SimulateOrderResponse")
|
|
proto.RegisterType((*WhaleBombRequest)(nil), "gctrpc.WhaleBombRequest")
|
|
proto.RegisterType((*CancelOrderRequest)(nil), "gctrpc.CancelOrderRequest")
|
|
proto.RegisterType((*CancelOrderResponse)(nil), "gctrpc.CancelOrderResponse")
|
|
proto.RegisterType((*CancelAllOrdersRequest)(nil), "gctrpc.CancelAllOrdersRequest")
|
|
proto.RegisterType((*CancelAllOrdersResponse)(nil), "gctrpc.CancelAllOrdersResponse")
|
|
proto.RegisterType((*CancelAllOrdersResponse_Orders)(nil), "gctrpc.CancelAllOrdersResponse.Orders")
|
|
proto.RegisterMapType((map[string]string)(nil), "gctrpc.CancelAllOrdersResponse.Orders.OrderStatusEntry")
|
|
proto.RegisterType((*GetEventsRequest)(nil), "gctrpc.GetEventsRequest")
|
|
proto.RegisterType((*ConditionParams)(nil), "gctrpc.ConditionParams")
|
|
proto.RegisterType((*GetEventsResponse)(nil), "gctrpc.GetEventsResponse")
|
|
proto.RegisterType((*AddEventRequest)(nil), "gctrpc.AddEventRequest")
|
|
proto.RegisterType((*AddEventResponse)(nil), "gctrpc.AddEventResponse")
|
|
proto.RegisterType((*RemoveEventRequest)(nil), "gctrpc.RemoveEventRequest")
|
|
proto.RegisterType((*RemoveEventResponse)(nil), "gctrpc.RemoveEventResponse")
|
|
proto.RegisterType((*GetCryptocurrencyDepositAddressesRequest)(nil), "gctrpc.GetCryptocurrencyDepositAddressesRequest")
|
|
proto.RegisterType((*GetCryptocurrencyDepositAddressesResponse)(nil), "gctrpc.GetCryptocurrencyDepositAddressesResponse")
|
|
proto.RegisterMapType((map[string]string)(nil), "gctrpc.GetCryptocurrencyDepositAddressesResponse.AddressesEntry")
|
|
proto.RegisterType((*GetCryptocurrencyDepositAddressRequest)(nil), "gctrpc.GetCryptocurrencyDepositAddressRequest")
|
|
proto.RegisterType((*GetCryptocurrencyDepositAddressResponse)(nil), "gctrpc.GetCryptocurrencyDepositAddressResponse")
|
|
proto.RegisterType((*WithdrawCurrencyRequest)(nil), "gctrpc.WithdrawCurrencyRequest")
|
|
proto.RegisterType((*WithdrawResponse)(nil), "gctrpc.WithdrawResponse")
|
|
proto.RegisterType((*GetLoggerDetailsRequest)(nil), "gctrpc.GetLoggerDetailsRequest")
|
|
proto.RegisterType((*GetLoggerDetailsResponse)(nil), "gctrpc.GetLoggerDetailsResponse")
|
|
proto.RegisterType((*SetLoggerDetailsRequest)(nil), "gctrpc.SetLoggerDetailsRequest")
|
|
proto.RegisterType((*GetExchangePairsRequest)(nil), "gctrpc.GetExchangePairsRequest")
|
|
proto.RegisterType((*GetExchangePairsResponse)(nil), "gctrpc.GetExchangePairsResponse")
|
|
proto.RegisterMapType((map[string]*PairsSupported)(nil), "gctrpc.GetExchangePairsResponse.SupportedAssetsEntry")
|
|
proto.RegisterType((*ExchangePairRequest)(nil), "gctrpc.ExchangePairRequest")
|
|
proto.RegisterType((*GetOrderbookStreamRequest)(nil), "gctrpc.GetOrderbookStreamRequest")
|
|
proto.RegisterType((*GetExchangeOrderbookStreamRequest)(nil), "gctrpc.GetExchangeOrderbookStreamRequest")
|
|
proto.RegisterType((*GetTickerStreamRequest)(nil), "gctrpc.GetTickerStreamRequest")
|
|
proto.RegisterType((*GetExchangeTickerStreamRequest)(nil), "gctrpc.GetExchangeTickerStreamRequest")
|
|
proto.RegisterType((*GetAuditEventRequest)(nil), "gctrpc.GetAuditEventRequest")
|
|
proto.RegisterType((*GetAuditEventResponse)(nil), "gctrpc.GetAuditEventResponse")
|
|
proto.RegisterType((*AuditEvent)(nil), "gctrpc.audit_event")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("rpc.proto", fileDescriptor_77a6da22d6a3feb1) }
|
|
|
|
var fileDescriptor_77a6da22d6a3feb1 = []byte{
|
|
// 4844 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x3c, 0x4d, 0x8f, 0x24, 0x47,
|
|
0x56, 0xca, 0xea, 0x9e, 0xee, 0xae, 0x57, 0xd5, 0x5f, 0xd1, 0x5f, 0x35, 0xd5, 0xdd, 0xf3, 0x91,
|
|
0x5e, 0x8f, 0x67, 0xfc, 0xd1, 0x63, 0x8f, 0x07, 0xd6, 0xac, 0xcd, 0x2e, 0xed, 0x1e, 0xbb, 0xd7,
|
|
0xd8, 0xeb, 0x69, 0xb2, 0x67, 0xc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, 0x58, 0xe1, 0xc5, 0xcb, 0xf0, 0x64, 0x0e, 0xff, 0x8d, 0x91, 0xb7, 0xff, 0x2f,
|
|
0x00, 0x00, 0xff, 0xff, 0xb9, 0x45, 0x93, 0xa0, 0x96, 0x44, 0x00, 0x00,
|
|
}
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ context.Context
|
|
var _ grpc.ClientConn
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
const _ = grpc.SupportPackageIsVersion4
|
|
|
|
// GoCryptoTraderClient is the client API for GoCryptoTrader service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type GoCryptoTraderClient interface {
|
|
GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoResponse, error)
|
|
GetSubsystems(ctx context.Context, in *GetSubsystemsRequest, opts ...grpc.CallOption) (*GetSusbsytemsResponse, error)
|
|
EnableSubsystem(ctx context.Context, in *GenericSubsystemRequest, opts ...grpc.CallOption) (*GenericSubsystemResponse, error)
|
|
DisableSubsystem(ctx context.Context, in *GenericSubsystemRequest, opts ...grpc.CallOption) (*GenericSubsystemResponse, error)
|
|
GetRPCEndpoints(ctx context.Context, in *GetRPCEndpointsRequest, opts ...grpc.CallOption) (*GetRPCEndpointsResponse, error)
|
|
GetCommunicationRelayers(ctx context.Context, in *GetCommunicationRelayersRequest, opts ...grpc.CallOption) (*GetCommunicationRelayersResponse, error)
|
|
GetExchanges(ctx context.Context, in *GetExchangesRequest, opts ...grpc.CallOption) (*GetExchangesResponse, error)
|
|
DisableExchange(ctx context.Context, in *GenericExchangeNameRequest, opts ...grpc.CallOption) (*GenericExchangeNameResponse, error)
|
|
GetExchangeInfo(ctx context.Context, in *GenericExchangeNameRequest, opts ...grpc.CallOption) (*GetExchangeInfoResponse, error)
|
|
GetExchangeOTPCode(ctx context.Context, in *GenericExchangeNameRequest, opts ...grpc.CallOption) (*GetExchangeOTPReponse, error)
|
|
GetExchangeOTPCodes(ctx context.Context, in *GetExchangeOTPsRequest, opts ...grpc.CallOption) (*GetExchangeOTPsResponse, error)
|
|
EnableExchange(ctx context.Context, in *GenericExchangeNameRequest, opts ...grpc.CallOption) (*GenericExchangeNameResponse, error)
|
|
GetTicker(ctx context.Context, in *GetTickerRequest, opts ...grpc.CallOption) (*TickerResponse, error)
|
|
GetTickers(ctx context.Context, in *GetTickersRequest, opts ...grpc.CallOption) (*GetTickersResponse, error)
|
|
GetOrderbook(ctx context.Context, in *GetOrderbookRequest, opts ...grpc.CallOption) (*OrderbookResponse, error)
|
|
GetOrderbooks(ctx context.Context, in *GetOrderbooksRequest, opts ...grpc.CallOption) (*GetOrderbooksResponse, error)
|
|
GetAccountInfo(ctx context.Context, in *GetAccountInfoRequest, opts ...grpc.CallOption) (*GetAccountInfoResponse, error)
|
|
GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*GetConfigResponse, error)
|
|
GetPortfolio(ctx context.Context, in *GetPortfolioRequest, opts ...grpc.CallOption) (*GetPortfolioResponse, error)
|
|
GetPortfolioSummary(ctx context.Context, in *GetPortfolioSummaryRequest, opts ...grpc.CallOption) (*GetPortfolioSummaryResponse, error)
|
|
AddPortfolioAddress(ctx context.Context, in *AddPortfolioAddressRequest, opts ...grpc.CallOption) (*AddPortfolioAddressResponse, error)
|
|
RemovePortfolioAddress(ctx context.Context, in *RemovePortfolioAddressRequest, opts ...grpc.CallOption) (*RemovePortfolioAddressResponse, error)
|
|
GetForexProviders(ctx context.Context, in *GetForexProvidersRequest, opts ...grpc.CallOption) (*GetForexProvidersResponse, error)
|
|
GetForexRates(ctx context.Context, in *GetForexRatesRequest, opts ...grpc.CallOption) (*GetForexRatesResponse, error)
|
|
GetOrders(ctx context.Context, in *GetOrdersRequest, opts ...grpc.CallOption) (*GetOrdersResponse, error)
|
|
GetOrder(ctx context.Context, in *GetOrderRequest, opts ...grpc.CallOption) (*OrderDetails, error)
|
|
SubmitOrder(ctx context.Context, in *SubmitOrderRequest, opts ...grpc.CallOption) (*SubmitOrderResponse, error)
|
|
SimulateOrder(ctx context.Context, in *SimulateOrderRequest, opts ...grpc.CallOption) (*SimulateOrderResponse, error)
|
|
WhaleBomb(ctx context.Context, in *WhaleBombRequest, opts ...grpc.CallOption) (*SimulateOrderResponse, error)
|
|
CancelOrder(ctx context.Context, in *CancelOrderRequest, opts ...grpc.CallOption) (*CancelOrderResponse, error)
|
|
CancelAllOrders(ctx context.Context, in *CancelAllOrdersRequest, opts ...grpc.CallOption) (*CancelAllOrdersResponse, error)
|
|
GetEvents(ctx context.Context, in *GetEventsRequest, opts ...grpc.CallOption) (*GetEventsResponse, error)
|
|
AddEvent(ctx context.Context, in *AddEventRequest, opts ...grpc.CallOption) (*AddEventResponse, error)
|
|
RemoveEvent(ctx context.Context, in *RemoveEventRequest, opts ...grpc.CallOption) (*RemoveEventResponse, error)
|
|
GetCryptocurrencyDepositAddresses(ctx context.Context, in *GetCryptocurrencyDepositAddressesRequest, opts ...grpc.CallOption) (*GetCryptocurrencyDepositAddressesResponse, error)
|
|
GetCryptocurrencyDepositAddress(ctx context.Context, in *GetCryptocurrencyDepositAddressRequest, opts ...grpc.CallOption) (*GetCryptocurrencyDepositAddressResponse, error)
|
|
WithdrawCryptocurrencyFunds(ctx context.Context, in *WithdrawCurrencyRequest, opts ...grpc.CallOption) (*WithdrawResponse, error)
|
|
WithdrawFiatFunds(ctx context.Context, in *WithdrawCurrencyRequest, opts ...grpc.CallOption) (*WithdrawResponse, error)
|
|
GetLoggerDetails(ctx context.Context, in *GetLoggerDetailsRequest, opts ...grpc.CallOption) (*GetLoggerDetailsResponse, error)
|
|
SetLoggerDetails(ctx context.Context, in *SetLoggerDetailsRequest, opts ...grpc.CallOption) (*GetLoggerDetailsResponse, error)
|
|
GetExchangePairs(ctx context.Context, in *GetExchangePairsRequest, opts ...grpc.CallOption) (*GetExchangePairsResponse, error)
|
|
EnableExchangePair(ctx context.Context, in *ExchangePairRequest, opts ...grpc.CallOption) (*GenericExchangeNameResponse, error)
|
|
DisableExchangePair(ctx context.Context, in *ExchangePairRequest, opts ...grpc.CallOption) (*GenericExchangeNameResponse, error)
|
|
GetOrderbookStream(ctx context.Context, in *GetOrderbookStreamRequest, opts ...grpc.CallOption) (GoCryptoTrader_GetOrderbookStreamClient, error)
|
|
GetExchangeOrderbookStream(ctx context.Context, in *GetExchangeOrderbookStreamRequest, opts ...grpc.CallOption) (GoCryptoTrader_GetExchangeOrderbookStreamClient, error)
|
|
GetTickerStream(ctx context.Context, in *GetTickerStreamRequest, opts ...grpc.CallOption) (GoCryptoTrader_GetTickerStreamClient, error)
|
|
GetExchangeTickerStream(ctx context.Context, in *GetExchangeTickerStreamRequest, opts ...grpc.CallOption) (GoCryptoTrader_GetExchangeTickerStreamClient, error)
|
|
GetAuditEvent(ctx context.Context, in *GetAuditEventRequest, opts ...grpc.CallOption) (*GetAuditEventResponse, error)
|
|
}
|
|
|
|
type goCryptoTraderClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewGoCryptoTraderClient(cc *grpc.ClientConn) GoCryptoTraderClient {
|
|
return &goCryptoTraderClient{cc}
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoResponse, error) {
|
|
out := new(GetInfoResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/GetInfo", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetSubsystems(ctx context.Context, in *GetSubsystemsRequest, opts ...grpc.CallOption) (*GetSusbsytemsResponse, error) {
|
|
out := new(GetSusbsytemsResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/GetSubsystems", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) EnableSubsystem(ctx context.Context, in *GenericSubsystemRequest, opts ...grpc.CallOption) (*GenericSubsystemResponse, error) {
|
|
out := new(GenericSubsystemResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/EnableSubsystem", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) DisableSubsystem(ctx context.Context, in *GenericSubsystemRequest, opts ...grpc.CallOption) (*GenericSubsystemResponse, error) {
|
|
out := new(GenericSubsystemResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/DisableSubsystem", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetRPCEndpoints(ctx context.Context, in *GetRPCEndpointsRequest, opts ...grpc.CallOption) (*GetRPCEndpointsResponse, error) {
|
|
out := new(GetRPCEndpointsResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/GetRPCEndpoints", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetCommunicationRelayers(ctx context.Context, in *GetCommunicationRelayersRequest, opts ...grpc.CallOption) (*GetCommunicationRelayersResponse, error) {
|
|
out := new(GetCommunicationRelayersResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/GetCommunicationRelayers", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetExchanges(ctx context.Context, in *GetExchangesRequest, opts ...grpc.CallOption) (*GetExchangesResponse, error) {
|
|
out := new(GetExchangesResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/GetExchanges", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) DisableExchange(ctx context.Context, in *GenericExchangeNameRequest, opts ...grpc.CallOption) (*GenericExchangeNameResponse, error) {
|
|
out := new(GenericExchangeNameResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/DisableExchange", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetExchangeInfo(ctx context.Context, in *GenericExchangeNameRequest, opts ...grpc.CallOption) (*GetExchangeInfoResponse, error) {
|
|
out := new(GetExchangeInfoResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/GetExchangeInfo", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetExchangeOTPCode(ctx context.Context, in *GenericExchangeNameRequest, opts ...grpc.CallOption) (*GetExchangeOTPReponse, error) {
|
|
out := new(GetExchangeOTPReponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/GetExchangeOTPCode", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetExchangeOTPCodes(ctx context.Context, in *GetExchangeOTPsRequest, opts ...grpc.CallOption) (*GetExchangeOTPsResponse, error) {
|
|
out := new(GetExchangeOTPsResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/GetExchangeOTPCodes", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) EnableExchange(ctx context.Context, in *GenericExchangeNameRequest, opts ...grpc.CallOption) (*GenericExchangeNameResponse, error) {
|
|
out := new(GenericExchangeNameResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/EnableExchange", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetTicker(ctx context.Context, in *GetTickerRequest, opts ...grpc.CallOption) (*TickerResponse, error) {
|
|
out := new(TickerResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/GetTicker", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetTickers(ctx context.Context, in *GetTickersRequest, opts ...grpc.CallOption) (*GetTickersResponse, error) {
|
|
out := new(GetTickersResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/GetTickers", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetOrderbook(ctx context.Context, in *GetOrderbookRequest, opts ...grpc.CallOption) (*OrderbookResponse, error) {
|
|
out := new(OrderbookResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/GetOrderbook", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetOrderbooks(ctx context.Context, in *GetOrderbooksRequest, opts ...grpc.CallOption) (*GetOrderbooksResponse, error) {
|
|
out := new(GetOrderbooksResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/GetOrderbooks", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetAccountInfo(ctx context.Context, in *GetAccountInfoRequest, opts ...grpc.CallOption) (*GetAccountInfoResponse, error) {
|
|
out := new(GetAccountInfoResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/GetAccountInfo", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*GetConfigResponse, error) {
|
|
out := new(GetConfigResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/GetConfig", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetPortfolio(ctx context.Context, in *GetPortfolioRequest, opts ...grpc.CallOption) (*GetPortfolioResponse, error) {
|
|
out := new(GetPortfolioResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/GetPortfolio", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetPortfolioSummary(ctx context.Context, in *GetPortfolioSummaryRequest, opts ...grpc.CallOption) (*GetPortfolioSummaryResponse, error) {
|
|
out := new(GetPortfolioSummaryResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/GetPortfolioSummary", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) AddPortfolioAddress(ctx context.Context, in *AddPortfolioAddressRequest, opts ...grpc.CallOption) (*AddPortfolioAddressResponse, error) {
|
|
out := new(AddPortfolioAddressResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/AddPortfolioAddress", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) RemovePortfolioAddress(ctx context.Context, in *RemovePortfolioAddressRequest, opts ...grpc.CallOption) (*RemovePortfolioAddressResponse, error) {
|
|
out := new(RemovePortfolioAddressResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/RemovePortfolioAddress", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetForexProviders(ctx context.Context, in *GetForexProvidersRequest, opts ...grpc.CallOption) (*GetForexProvidersResponse, error) {
|
|
out := new(GetForexProvidersResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/GetForexProviders", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetForexRates(ctx context.Context, in *GetForexRatesRequest, opts ...grpc.CallOption) (*GetForexRatesResponse, error) {
|
|
out := new(GetForexRatesResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/GetForexRates", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetOrders(ctx context.Context, in *GetOrdersRequest, opts ...grpc.CallOption) (*GetOrdersResponse, error) {
|
|
out := new(GetOrdersResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/GetOrders", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetOrder(ctx context.Context, in *GetOrderRequest, opts ...grpc.CallOption) (*OrderDetails, error) {
|
|
out := new(OrderDetails)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/GetOrder", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) SubmitOrder(ctx context.Context, in *SubmitOrderRequest, opts ...grpc.CallOption) (*SubmitOrderResponse, error) {
|
|
out := new(SubmitOrderResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/SubmitOrder", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) SimulateOrder(ctx context.Context, in *SimulateOrderRequest, opts ...grpc.CallOption) (*SimulateOrderResponse, error) {
|
|
out := new(SimulateOrderResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/SimulateOrder", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) WhaleBomb(ctx context.Context, in *WhaleBombRequest, opts ...grpc.CallOption) (*SimulateOrderResponse, error) {
|
|
out := new(SimulateOrderResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/WhaleBomb", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) CancelOrder(ctx context.Context, in *CancelOrderRequest, opts ...grpc.CallOption) (*CancelOrderResponse, error) {
|
|
out := new(CancelOrderResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/CancelOrder", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) CancelAllOrders(ctx context.Context, in *CancelAllOrdersRequest, opts ...grpc.CallOption) (*CancelAllOrdersResponse, error) {
|
|
out := new(CancelAllOrdersResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/CancelAllOrders", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetEvents(ctx context.Context, in *GetEventsRequest, opts ...grpc.CallOption) (*GetEventsResponse, error) {
|
|
out := new(GetEventsResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/GetEvents", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) AddEvent(ctx context.Context, in *AddEventRequest, opts ...grpc.CallOption) (*AddEventResponse, error) {
|
|
out := new(AddEventResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/AddEvent", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) RemoveEvent(ctx context.Context, in *RemoveEventRequest, opts ...grpc.CallOption) (*RemoveEventResponse, error) {
|
|
out := new(RemoveEventResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/RemoveEvent", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetCryptocurrencyDepositAddresses(ctx context.Context, in *GetCryptocurrencyDepositAddressesRequest, opts ...grpc.CallOption) (*GetCryptocurrencyDepositAddressesResponse, error) {
|
|
out := new(GetCryptocurrencyDepositAddressesResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/GetCryptocurrencyDepositAddresses", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetCryptocurrencyDepositAddress(ctx context.Context, in *GetCryptocurrencyDepositAddressRequest, opts ...grpc.CallOption) (*GetCryptocurrencyDepositAddressResponse, error) {
|
|
out := new(GetCryptocurrencyDepositAddressResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/GetCryptocurrencyDepositAddress", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) WithdrawCryptocurrencyFunds(ctx context.Context, in *WithdrawCurrencyRequest, opts ...grpc.CallOption) (*WithdrawResponse, error) {
|
|
out := new(WithdrawResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/WithdrawCryptocurrencyFunds", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) WithdrawFiatFunds(ctx context.Context, in *WithdrawCurrencyRequest, opts ...grpc.CallOption) (*WithdrawResponse, error) {
|
|
out := new(WithdrawResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/WithdrawFiatFunds", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetLoggerDetails(ctx context.Context, in *GetLoggerDetailsRequest, opts ...grpc.CallOption) (*GetLoggerDetailsResponse, error) {
|
|
out := new(GetLoggerDetailsResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/GetLoggerDetails", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) SetLoggerDetails(ctx context.Context, in *SetLoggerDetailsRequest, opts ...grpc.CallOption) (*GetLoggerDetailsResponse, error) {
|
|
out := new(GetLoggerDetailsResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/SetLoggerDetails", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetExchangePairs(ctx context.Context, in *GetExchangePairsRequest, opts ...grpc.CallOption) (*GetExchangePairsResponse, error) {
|
|
out := new(GetExchangePairsResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/GetExchangePairs", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) EnableExchangePair(ctx context.Context, in *ExchangePairRequest, opts ...grpc.CallOption) (*GenericExchangeNameResponse, error) {
|
|
out := new(GenericExchangeNameResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/EnableExchangePair", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) DisableExchangePair(ctx context.Context, in *ExchangePairRequest, opts ...grpc.CallOption) (*GenericExchangeNameResponse, error) {
|
|
out := new(GenericExchangeNameResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/DisableExchangePair", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetOrderbookStream(ctx context.Context, in *GetOrderbookStreamRequest, opts ...grpc.CallOption) (GoCryptoTrader_GetOrderbookStreamClient, error) {
|
|
stream, err := c.cc.NewStream(ctx, &_GoCryptoTrader_serviceDesc.Streams[0], "/gctrpc.GoCryptoTrader/GetOrderbookStream", opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
x := &goCryptoTraderGetOrderbookStreamClient{stream}
|
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if err := x.ClientStream.CloseSend(); err != nil {
|
|
return nil, err
|
|
}
|
|
return x, nil
|
|
}
|
|
|
|
type GoCryptoTrader_GetOrderbookStreamClient interface {
|
|
Recv() (*OrderbookResponse, error)
|
|
grpc.ClientStream
|
|
}
|
|
|
|
type goCryptoTraderGetOrderbookStreamClient struct {
|
|
grpc.ClientStream
|
|
}
|
|
|
|
func (x *goCryptoTraderGetOrderbookStreamClient) Recv() (*OrderbookResponse, error) {
|
|
m := new(OrderbookResponse)
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
return nil, err
|
|
}
|
|
return m, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetExchangeOrderbookStream(ctx context.Context, in *GetExchangeOrderbookStreamRequest, opts ...grpc.CallOption) (GoCryptoTrader_GetExchangeOrderbookStreamClient, error) {
|
|
stream, err := c.cc.NewStream(ctx, &_GoCryptoTrader_serviceDesc.Streams[1], "/gctrpc.GoCryptoTrader/GetExchangeOrderbookStream", opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
x := &goCryptoTraderGetExchangeOrderbookStreamClient{stream}
|
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if err := x.ClientStream.CloseSend(); err != nil {
|
|
return nil, err
|
|
}
|
|
return x, nil
|
|
}
|
|
|
|
type GoCryptoTrader_GetExchangeOrderbookStreamClient interface {
|
|
Recv() (*OrderbookResponse, error)
|
|
grpc.ClientStream
|
|
}
|
|
|
|
type goCryptoTraderGetExchangeOrderbookStreamClient struct {
|
|
grpc.ClientStream
|
|
}
|
|
|
|
func (x *goCryptoTraderGetExchangeOrderbookStreamClient) Recv() (*OrderbookResponse, error) {
|
|
m := new(OrderbookResponse)
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
return nil, err
|
|
}
|
|
return m, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetTickerStream(ctx context.Context, in *GetTickerStreamRequest, opts ...grpc.CallOption) (GoCryptoTrader_GetTickerStreamClient, error) {
|
|
stream, err := c.cc.NewStream(ctx, &_GoCryptoTrader_serviceDesc.Streams[2], "/gctrpc.GoCryptoTrader/GetTickerStream", opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
x := &goCryptoTraderGetTickerStreamClient{stream}
|
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if err := x.ClientStream.CloseSend(); err != nil {
|
|
return nil, err
|
|
}
|
|
return x, nil
|
|
}
|
|
|
|
type GoCryptoTrader_GetTickerStreamClient interface {
|
|
Recv() (*TickerResponse, error)
|
|
grpc.ClientStream
|
|
}
|
|
|
|
type goCryptoTraderGetTickerStreamClient struct {
|
|
grpc.ClientStream
|
|
}
|
|
|
|
func (x *goCryptoTraderGetTickerStreamClient) Recv() (*TickerResponse, error) {
|
|
m := new(TickerResponse)
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
return nil, err
|
|
}
|
|
return m, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetExchangeTickerStream(ctx context.Context, in *GetExchangeTickerStreamRequest, opts ...grpc.CallOption) (GoCryptoTrader_GetExchangeTickerStreamClient, error) {
|
|
stream, err := c.cc.NewStream(ctx, &_GoCryptoTrader_serviceDesc.Streams[3], "/gctrpc.GoCryptoTrader/GetExchangeTickerStream", opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
x := &goCryptoTraderGetExchangeTickerStreamClient{stream}
|
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if err := x.ClientStream.CloseSend(); err != nil {
|
|
return nil, err
|
|
}
|
|
return x, nil
|
|
}
|
|
|
|
type GoCryptoTrader_GetExchangeTickerStreamClient interface {
|
|
Recv() (*TickerResponse, error)
|
|
grpc.ClientStream
|
|
}
|
|
|
|
type goCryptoTraderGetExchangeTickerStreamClient struct {
|
|
grpc.ClientStream
|
|
}
|
|
|
|
func (x *goCryptoTraderGetExchangeTickerStreamClient) Recv() (*TickerResponse, error) {
|
|
m := new(TickerResponse)
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
return nil, err
|
|
}
|
|
return m, nil
|
|
}
|
|
|
|
func (c *goCryptoTraderClient) GetAuditEvent(ctx context.Context, in *GetAuditEventRequest, opts ...grpc.CallOption) (*GetAuditEventResponse, error) {
|
|
out := new(GetAuditEventResponse)
|
|
err := c.cc.Invoke(ctx, "/gctrpc.GoCryptoTrader/GetAuditEvent", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// GoCryptoTraderServer is the server API for GoCryptoTrader service.
|
|
type GoCryptoTraderServer interface {
|
|
GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
|
|
GetSubsystems(context.Context, *GetSubsystemsRequest) (*GetSusbsytemsResponse, error)
|
|
EnableSubsystem(context.Context, *GenericSubsystemRequest) (*GenericSubsystemResponse, error)
|
|
DisableSubsystem(context.Context, *GenericSubsystemRequest) (*GenericSubsystemResponse, error)
|
|
GetRPCEndpoints(context.Context, *GetRPCEndpointsRequest) (*GetRPCEndpointsResponse, error)
|
|
GetCommunicationRelayers(context.Context, *GetCommunicationRelayersRequest) (*GetCommunicationRelayersResponse, error)
|
|
GetExchanges(context.Context, *GetExchangesRequest) (*GetExchangesResponse, error)
|
|
DisableExchange(context.Context, *GenericExchangeNameRequest) (*GenericExchangeNameResponse, error)
|
|
GetExchangeInfo(context.Context, *GenericExchangeNameRequest) (*GetExchangeInfoResponse, error)
|
|
GetExchangeOTPCode(context.Context, *GenericExchangeNameRequest) (*GetExchangeOTPReponse, error)
|
|
GetExchangeOTPCodes(context.Context, *GetExchangeOTPsRequest) (*GetExchangeOTPsResponse, error)
|
|
EnableExchange(context.Context, *GenericExchangeNameRequest) (*GenericExchangeNameResponse, error)
|
|
GetTicker(context.Context, *GetTickerRequest) (*TickerResponse, error)
|
|
GetTickers(context.Context, *GetTickersRequest) (*GetTickersResponse, error)
|
|
GetOrderbook(context.Context, *GetOrderbookRequest) (*OrderbookResponse, error)
|
|
GetOrderbooks(context.Context, *GetOrderbooksRequest) (*GetOrderbooksResponse, error)
|
|
GetAccountInfo(context.Context, *GetAccountInfoRequest) (*GetAccountInfoResponse, error)
|
|
GetConfig(context.Context, *GetConfigRequest) (*GetConfigResponse, error)
|
|
GetPortfolio(context.Context, *GetPortfolioRequest) (*GetPortfolioResponse, error)
|
|
GetPortfolioSummary(context.Context, *GetPortfolioSummaryRequest) (*GetPortfolioSummaryResponse, error)
|
|
AddPortfolioAddress(context.Context, *AddPortfolioAddressRequest) (*AddPortfolioAddressResponse, error)
|
|
RemovePortfolioAddress(context.Context, *RemovePortfolioAddressRequest) (*RemovePortfolioAddressResponse, error)
|
|
GetForexProviders(context.Context, *GetForexProvidersRequest) (*GetForexProvidersResponse, error)
|
|
GetForexRates(context.Context, *GetForexRatesRequest) (*GetForexRatesResponse, error)
|
|
GetOrders(context.Context, *GetOrdersRequest) (*GetOrdersResponse, error)
|
|
GetOrder(context.Context, *GetOrderRequest) (*OrderDetails, error)
|
|
SubmitOrder(context.Context, *SubmitOrderRequest) (*SubmitOrderResponse, error)
|
|
SimulateOrder(context.Context, *SimulateOrderRequest) (*SimulateOrderResponse, error)
|
|
WhaleBomb(context.Context, *WhaleBombRequest) (*SimulateOrderResponse, error)
|
|
CancelOrder(context.Context, *CancelOrderRequest) (*CancelOrderResponse, error)
|
|
CancelAllOrders(context.Context, *CancelAllOrdersRequest) (*CancelAllOrdersResponse, error)
|
|
GetEvents(context.Context, *GetEventsRequest) (*GetEventsResponse, error)
|
|
AddEvent(context.Context, *AddEventRequest) (*AddEventResponse, error)
|
|
RemoveEvent(context.Context, *RemoveEventRequest) (*RemoveEventResponse, error)
|
|
GetCryptocurrencyDepositAddresses(context.Context, *GetCryptocurrencyDepositAddressesRequest) (*GetCryptocurrencyDepositAddressesResponse, error)
|
|
GetCryptocurrencyDepositAddress(context.Context, *GetCryptocurrencyDepositAddressRequest) (*GetCryptocurrencyDepositAddressResponse, error)
|
|
WithdrawCryptocurrencyFunds(context.Context, *WithdrawCurrencyRequest) (*WithdrawResponse, error)
|
|
WithdrawFiatFunds(context.Context, *WithdrawCurrencyRequest) (*WithdrawResponse, error)
|
|
GetLoggerDetails(context.Context, *GetLoggerDetailsRequest) (*GetLoggerDetailsResponse, error)
|
|
SetLoggerDetails(context.Context, *SetLoggerDetailsRequest) (*GetLoggerDetailsResponse, error)
|
|
GetExchangePairs(context.Context, *GetExchangePairsRequest) (*GetExchangePairsResponse, error)
|
|
EnableExchangePair(context.Context, *ExchangePairRequest) (*GenericExchangeNameResponse, error)
|
|
DisableExchangePair(context.Context, *ExchangePairRequest) (*GenericExchangeNameResponse, error)
|
|
GetOrderbookStream(*GetOrderbookStreamRequest, GoCryptoTrader_GetOrderbookStreamServer) error
|
|
GetExchangeOrderbookStream(*GetExchangeOrderbookStreamRequest, GoCryptoTrader_GetExchangeOrderbookStreamServer) error
|
|
GetTickerStream(*GetTickerStreamRequest, GoCryptoTrader_GetTickerStreamServer) error
|
|
GetExchangeTickerStream(*GetExchangeTickerStreamRequest, GoCryptoTrader_GetExchangeTickerStreamServer) error
|
|
GetAuditEvent(context.Context, *GetAuditEventRequest) (*GetAuditEventResponse, error)
|
|
}
|
|
|
|
func RegisterGoCryptoTraderServer(s *grpc.Server, srv GoCryptoTraderServer) {
|
|
s.RegisterService(&_GoCryptoTrader_serviceDesc, srv)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetInfoRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).GetInfo(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/GetInfo",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).GetInfo(ctx, req.(*GetInfoRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetSubsystems_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetSubsystemsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).GetSubsystems(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/GetSubsystems",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).GetSubsystems(ctx, req.(*GetSubsystemsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_EnableSubsystem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GenericSubsystemRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).EnableSubsystem(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/EnableSubsystem",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).EnableSubsystem(ctx, req.(*GenericSubsystemRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_DisableSubsystem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GenericSubsystemRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).DisableSubsystem(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/DisableSubsystem",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).DisableSubsystem(ctx, req.(*GenericSubsystemRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetRPCEndpoints_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetRPCEndpointsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).GetRPCEndpoints(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/GetRPCEndpoints",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).GetRPCEndpoints(ctx, req.(*GetRPCEndpointsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetCommunicationRelayers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetCommunicationRelayersRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).GetCommunicationRelayers(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/GetCommunicationRelayers",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).GetCommunicationRelayers(ctx, req.(*GetCommunicationRelayersRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetExchanges_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetExchangesRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).GetExchanges(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/GetExchanges",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).GetExchanges(ctx, req.(*GetExchangesRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_DisableExchange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GenericExchangeNameRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).DisableExchange(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/DisableExchange",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).DisableExchange(ctx, req.(*GenericExchangeNameRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetExchangeInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GenericExchangeNameRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).GetExchangeInfo(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/GetExchangeInfo",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).GetExchangeInfo(ctx, req.(*GenericExchangeNameRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetExchangeOTPCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GenericExchangeNameRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).GetExchangeOTPCode(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/GetExchangeOTPCode",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).GetExchangeOTPCode(ctx, req.(*GenericExchangeNameRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetExchangeOTPCodes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetExchangeOTPsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).GetExchangeOTPCodes(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/GetExchangeOTPCodes",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).GetExchangeOTPCodes(ctx, req.(*GetExchangeOTPsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_EnableExchange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GenericExchangeNameRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).EnableExchange(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/EnableExchange",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).EnableExchange(ctx, req.(*GenericExchangeNameRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetTicker_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetTickerRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).GetTicker(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/GetTicker",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).GetTicker(ctx, req.(*GetTickerRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetTickers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetTickersRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).GetTickers(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/GetTickers",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).GetTickers(ctx, req.(*GetTickersRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetOrderbook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetOrderbookRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).GetOrderbook(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/GetOrderbook",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).GetOrderbook(ctx, req.(*GetOrderbookRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetOrderbooks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetOrderbooksRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).GetOrderbooks(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/GetOrderbooks",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).GetOrderbooks(ctx, req.(*GetOrderbooksRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetAccountInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetAccountInfoRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).GetAccountInfo(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/GetAccountInfo",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).GetAccountInfo(ctx, req.(*GetAccountInfoRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetConfigRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).GetConfig(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/GetConfig",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).GetConfig(ctx, req.(*GetConfigRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetPortfolio_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetPortfolioRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).GetPortfolio(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/GetPortfolio",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).GetPortfolio(ctx, req.(*GetPortfolioRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetPortfolioSummary_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetPortfolioSummaryRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).GetPortfolioSummary(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/GetPortfolioSummary",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).GetPortfolioSummary(ctx, req.(*GetPortfolioSummaryRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_AddPortfolioAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AddPortfolioAddressRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).AddPortfolioAddress(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/AddPortfolioAddress",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).AddPortfolioAddress(ctx, req.(*AddPortfolioAddressRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_RemovePortfolioAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(RemovePortfolioAddressRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).RemovePortfolioAddress(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/RemovePortfolioAddress",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).RemovePortfolioAddress(ctx, req.(*RemovePortfolioAddressRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetForexProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetForexProvidersRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).GetForexProviders(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/GetForexProviders",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).GetForexProviders(ctx, req.(*GetForexProvidersRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetForexRates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetForexRatesRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).GetForexRates(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/GetForexRates",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).GetForexRates(ctx, req.(*GetForexRatesRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetOrders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetOrdersRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).GetOrders(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/GetOrders",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).GetOrders(ctx, req.(*GetOrdersRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetOrderRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).GetOrder(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/GetOrder",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).GetOrder(ctx, req.(*GetOrderRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_SubmitOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SubmitOrderRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).SubmitOrder(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/SubmitOrder",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).SubmitOrder(ctx, req.(*SubmitOrderRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_SimulateOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SimulateOrderRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).SimulateOrder(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/SimulateOrder",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).SimulateOrder(ctx, req.(*SimulateOrderRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_WhaleBomb_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(WhaleBombRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).WhaleBomb(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/WhaleBomb",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).WhaleBomb(ctx, req.(*WhaleBombRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_CancelOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CancelOrderRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).CancelOrder(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/CancelOrder",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).CancelOrder(ctx, req.(*CancelOrderRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_CancelAllOrders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CancelAllOrdersRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).CancelAllOrders(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/CancelAllOrders",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).CancelAllOrders(ctx, req.(*CancelAllOrdersRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetEvents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetEventsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).GetEvents(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/GetEvents",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).GetEvents(ctx, req.(*GetEventsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_AddEvent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AddEventRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).AddEvent(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/AddEvent",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).AddEvent(ctx, req.(*AddEventRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_RemoveEvent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(RemoveEventRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).RemoveEvent(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/RemoveEvent",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).RemoveEvent(ctx, req.(*RemoveEventRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetCryptocurrencyDepositAddresses_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetCryptocurrencyDepositAddressesRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).GetCryptocurrencyDepositAddresses(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/GetCryptocurrencyDepositAddresses",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).GetCryptocurrencyDepositAddresses(ctx, req.(*GetCryptocurrencyDepositAddressesRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetCryptocurrencyDepositAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetCryptocurrencyDepositAddressRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).GetCryptocurrencyDepositAddress(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/GetCryptocurrencyDepositAddress",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).GetCryptocurrencyDepositAddress(ctx, req.(*GetCryptocurrencyDepositAddressRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_WithdrawCryptocurrencyFunds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(WithdrawCurrencyRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).WithdrawCryptocurrencyFunds(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/WithdrawCryptocurrencyFunds",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).WithdrawCryptocurrencyFunds(ctx, req.(*WithdrawCurrencyRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_WithdrawFiatFunds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(WithdrawCurrencyRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).WithdrawFiatFunds(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/WithdrawFiatFunds",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).WithdrawFiatFunds(ctx, req.(*WithdrawCurrencyRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetLoggerDetails_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetLoggerDetailsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).GetLoggerDetails(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/GetLoggerDetails",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).GetLoggerDetails(ctx, req.(*GetLoggerDetailsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_SetLoggerDetails_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SetLoggerDetailsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).SetLoggerDetails(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/SetLoggerDetails",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).SetLoggerDetails(ctx, req.(*SetLoggerDetailsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetExchangePairs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetExchangePairsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).GetExchangePairs(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/GetExchangePairs",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).GetExchangePairs(ctx, req.(*GetExchangePairsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_EnableExchangePair_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ExchangePairRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).EnableExchangePair(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/EnableExchangePair",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).EnableExchangePair(ctx, req.(*ExchangePairRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_DisableExchangePair_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ExchangePairRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).DisableExchangePair(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/DisableExchangePair",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).DisableExchangePair(ctx, req.(*ExchangePairRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetOrderbookStream_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
m := new(GetOrderbookStreamRequest)
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
return err
|
|
}
|
|
return srv.(GoCryptoTraderServer).GetOrderbookStream(m, &goCryptoTraderGetOrderbookStreamServer{stream})
|
|
}
|
|
|
|
type GoCryptoTrader_GetOrderbookStreamServer interface {
|
|
Send(*OrderbookResponse) error
|
|
grpc.ServerStream
|
|
}
|
|
|
|
type goCryptoTraderGetOrderbookStreamServer struct {
|
|
grpc.ServerStream
|
|
}
|
|
|
|
func (x *goCryptoTraderGetOrderbookStreamServer) Send(m *OrderbookResponse) error {
|
|
return x.ServerStream.SendMsg(m)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetExchangeOrderbookStream_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
m := new(GetExchangeOrderbookStreamRequest)
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
return err
|
|
}
|
|
return srv.(GoCryptoTraderServer).GetExchangeOrderbookStream(m, &goCryptoTraderGetExchangeOrderbookStreamServer{stream})
|
|
}
|
|
|
|
type GoCryptoTrader_GetExchangeOrderbookStreamServer interface {
|
|
Send(*OrderbookResponse) error
|
|
grpc.ServerStream
|
|
}
|
|
|
|
type goCryptoTraderGetExchangeOrderbookStreamServer struct {
|
|
grpc.ServerStream
|
|
}
|
|
|
|
func (x *goCryptoTraderGetExchangeOrderbookStreamServer) Send(m *OrderbookResponse) error {
|
|
return x.ServerStream.SendMsg(m)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetTickerStream_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
m := new(GetTickerStreamRequest)
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
return err
|
|
}
|
|
return srv.(GoCryptoTraderServer).GetTickerStream(m, &goCryptoTraderGetTickerStreamServer{stream})
|
|
}
|
|
|
|
type GoCryptoTrader_GetTickerStreamServer interface {
|
|
Send(*TickerResponse) error
|
|
grpc.ServerStream
|
|
}
|
|
|
|
type goCryptoTraderGetTickerStreamServer struct {
|
|
grpc.ServerStream
|
|
}
|
|
|
|
func (x *goCryptoTraderGetTickerStreamServer) Send(m *TickerResponse) error {
|
|
return x.ServerStream.SendMsg(m)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetExchangeTickerStream_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
m := new(GetExchangeTickerStreamRequest)
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
return err
|
|
}
|
|
return srv.(GoCryptoTraderServer).GetExchangeTickerStream(m, &goCryptoTraderGetExchangeTickerStreamServer{stream})
|
|
}
|
|
|
|
type GoCryptoTrader_GetExchangeTickerStreamServer interface {
|
|
Send(*TickerResponse) error
|
|
grpc.ServerStream
|
|
}
|
|
|
|
type goCryptoTraderGetExchangeTickerStreamServer struct {
|
|
grpc.ServerStream
|
|
}
|
|
|
|
func (x *goCryptoTraderGetExchangeTickerStreamServer) Send(m *TickerResponse) error {
|
|
return x.ServerStream.SendMsg(m)
|
|
}
|
|
|
|
func _GoCryptoTrader_GetAuditEvent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetAuditEventRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(GoCryptoTraderServer).GetAuditEvent(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/gctrpc.GoCryptoTrader/GetAuditEvent",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(GoCryptoTraderServer).GetAuditEvent(ctx, req.(*GetAuditEventRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _GoCryptoTrader_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "gctrpc.GoCryptoTrader",
|
|
HandlerType: (*GoCryptoTraderServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "GetInfo",
|
|
Handler: _GoCryptoTrader_GetInfo_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetSubsystems",
|
|
Handler: _GoCryptoTrader_GetSubsystems_Handler,
|
|
},
|
|
{
|
|
MethodName: "EnableSubsystem",
|
|
Handler: _GoCryptoTrader_EnableSubsystem_Handler,
|
|
},
|
|
{
|
|
MethodName: "DisableSubsystem",
|
|
Handler: _GoCryptoTrader_DisableSubsystem_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetRPCEndpoints",
|
|
Handler: _GoCryptoTrader_GetRPCEndpoints_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetCommunicationRelayers",
|
|
Handler: _GoCryptoTrader_GetCommunicationRelayers_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetExchanges",
|
|
Handler: _GoCryptoTrader_GetExchanges_Handler,
|
|
},
|
|
{
|
|
MethodName: "DisableExchange",
|
|
Handler: _GoCryptoTrader_DisableExchange_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetExchangeInfo",
|
|
Handler: _GoCryptoTrader_GetExchangeInfo_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetExchangeOTPCode",
|
|
Handler: _GoCryptoTrader_GetExchangeOTPCode_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetExchangeOTPCodes",
|
|
Handler: _GoCryptoTrader_GetExchangeOTPCodes_Handler,
|
|
},
|
|
{
|
|
MethodName: "EnableExchange",
|
|
Handler: _GoCryptoTrader_EnableExchange_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetTicker",
|
|
Handler: _GoCryptoTrader_GetTicker_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetTickers",
|
|
Handler: _GoCryptoTrader_GetTickers_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetOrderbook",
|
|
Handler: _GoCryptoTrader_GetOrderbook_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetOrderbooks",
|
|
Handler: _GoCryptoTrader_GetOrderbooks_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetAccountInfo",
|
|
Handler: _GoCryptoTrader_GetAccountInfo_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetConfig",
|
|
Handler: _GoCryptoTrader_GetConfig_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetPortfolio",
|
|
Handler: _GoCryptoTrader_GetPortfolio_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetPortfolioSummary",
|
|
Handler: _GoCryptoTrader_GetPortfolioSummary_Handler,
|
|
},
|
|
{
|
|
MethodName: "AddPortfolioAddress",
|
|
Handler: _GoCryptoTrader_AddPortfolioAddress_Handler,
|
|
},
|
|
{
|
|
MethodName: "RemovePortfolioAddress",
|
|
Handler: _GoCryptoTrader_RemovePortfolioAddress_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetForexProviders",
|
|
Handler: _GoCryptoTrader_GetForexProviders_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetForexRates",
|
|
Handler: _GoCryptoTrader_GetForexRates_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetOrders",
|
|
Handler: _GoCryptoTrader_GetOrders_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetOrder",
|
|
Handler: _GoCryptoTrader_GetOrder_Handler,
|
|
},
|
|
{
|
|
MethodName: "SubmitOrder",
|
|
Handler: _GoCryptoTrader_SubmitOrder_Handler,
|
|
},
|
|
{
|
|
MethodName: "SimulateOrder",
|
|
Handler: _GoCryptoTrader_SimulateOrder_Handler,
|
|
},
|
|
{
|
|
MethodName: "WhaleBomb",
|
|
Handler: _GoCryptoTrader_WhaleBomb_Handler,
|
|
},
|
|
{
|
|
MethodName: "CancelOrder",
|
|
Handler: _GoCryptoTrader_CancelOrder_Handler,
|
|
},
|
|
{
|
|
MethodName: "CancelAllOrders",
|
|
Handler: _GoCryptoTrader_CancelAllOrders_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetEvents",
|
|
Handler: _GoCryptoTrader_GetEvents_Handler,
|
|
},
|
|
{
|
|
MethodName: "AddEvent",
|
|
Handler: _GoCryptoTrader_AddEvent_Handler,
|
|
},
|
|
{
|
|
MethodName: "RemoveEvent",
|
|
Handler: _GoCryptoTrader_RemoveEvent_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetCryptocurrencyDepositAddresses",
|
|
Handler: _GoCryptoTrader_GetCryptocurrencyDepositAddresses_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetCryptocurrencyDepositAddress",
|
|
Handler: _GoCryptoTrader_GetCryptocurrencyDepositAddress_Handler,
|
|
},
|
|
{
|
|
MethodName: "WithdrawCryptocurrencyFunds",
|
|
Handler: _GoCryptoTrader_WithdrawCryptocurrencyFunds_Handler,
|
|
},
|
|
{
|
|
MethodName: "WithdrawFiatFunds",
|
|
Handler: _GoCryptoTrader_WithdrawFiatFunds_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetLoggerDetails",
|
|
Handler: _GoCryptoTrader_GetLoggerDetails_Handler,
|
|
},
|
|
{
|
|
MethodName: "SetLoggerDetails",
|
|
Handler: _GoCryptoTrader_SetLoggerDetails_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetExchangePairs",
|
|
Handler: _GoCryptoTrader_GetExchangePairs_Handler,
|
|
},
|
|
{
|
|
MethodName: "EnableExchangePair",
|
|
Handler: _GoCryptoTrader_EnableExchangePair_Handler,
|
|
},
|
|
{
|
|
MethodName: "DisableExchangePair",
|
|
Handler: _GoCryptoTrader_DisableExchangePair_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetAuditEvent",
|
|
Handler: _GoCryptoTrader_GetAuditEvent_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{
|
|
{
|
|
StreamName: "GetOrderbookStream",
|
|
Handler: _GoCryptoTrader_GetOrderbookStream_Handler,
|
|
ServerStreams: true,
|
|
},
|
|
{
|
|
StreamName: "GetExchangeOrderbookStream",
|
|
Handler: _GoCryptoTrader_GetExchangeOrderbookStream_Handler,
|
|
ServerStreams: true,
|
|
},
|
|
{
|
|
StreamName: "GetTickerStream",
|
|
Handler: _GoCryptoTrader_GetTickerStream_Handler,
|
|
ServerStreams: true,
|
|
},
|
|
{
|
|
StreamName: "GetExchangeTickerStream",
|
|
Handler: _GoCryptoTrader_GetExchangeTickerStream_Handler,
|
|
ServerStreams: true,
|
|
},
|
|
},
|
|
Metadata: "rpc.proto",
|
|
}
|