-
Notifications
You must be signed in to change notification settings - Fork 0
/
mexcsdk.init.go
170 lines (167 loc) · 8.22 KB
/
mexcsdk.init.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
package mexcsdk
import (
"reflect"
_jsii_ "github.com/aws/jsii-runtime-go/runtime"
)
func init() {
_jsii_.RegisterClass(
"mexc-sdk.Base",
reflect.TypeOf((*Base)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberProperty{JsiiProperty: "config", GoGetter: "Config"},
_jsii_.MemberMethod{JsiiMethod: "publicRequest", GoMethod: "PublicRequest"},
_jsii_.MemberMethod{JsiiMethod: "signRequest", GoMethod: "SignRequest"},
},
func() interface{} {
return &jsiiProxy_Base{}
},
)
_jsii_.RegisterClass(
"mexc-sdk.Common",
reflect.TypeOf((*Common)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberMethod{JsiiMethod: "aggTrades", GoMethod: "AggTrades"},
_jsii_.MemberMethod{JsiiMethod: "avgPrice", GoMethod: "AvgPrice"},
_jsii_.MemberMethod{JsiiMethod: "bookTicker", GoMethod: "BookTicker"},
_jsii_.MemberProperty{JsiiProperty: "config", GoGetter: "Config"},
_jsii_.MemberMethod{JsiiMethod: "depth", GoMethod: "Depth"},
_jsii_.MemberMethod{JsiiMethod: "exchangeInfo", GoMethod: "ExchangeInfo"},
_jsii_.MemberMethod{JsiiMethod: "historicalTrades", GoMethod: "HistoricalTrades"},
_jsii_.MemberMethod{JsiiMethod: "klines", GoMethod: "Klines"},
_jsii_.MemberMethod{JsiiMethod: "ping", GoMethod: "Ping"},
_jsii_.MemberMethod{JsiiMethod: "publicRequest", GoMethod: "PublicRequest"},
_jsii_.MemberMethod{JsiiMethod: "signRequest", GoMethod: "SignRequest"},
_jsii_.MemberMethod{JsiiMethod: "ticker24hr", GoMethod: "Ticker24hr"},
_jsii_.MemberMethod{JsiiMethod: "tickerPrice", GoMethod: "TickerPrice"},
_jsii_.MemberMethod{JsiiMethod: "time", GoMethod: "Time"},
_jsii_.MemberMethod{JsiiMethod: "trades", GoMethod: "Trades"},
},
func() interface{} {
j := jsiiProxy_Common{}
_jsii_.InitJsiiProxy(&j.jsiiProxy_Market)
return &j
},
)
_jsii_.RegisterClass(
"mexc-sdk.Market",
reflect.TypeOf((*Market)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberMethod{JsiiMethod: "aggTrades", GoMethod: "AggTrades"},
_jsii_.MemberMethod{JsiiMethod: "avgPrice", GoMethod: "AvgPrice"},
_jsii_.MemberMethod{JsiiMethod: "bookTicker", GoMethod: "BookTicker"},
_jsii_.MemberProperty{JsiiProperty: "config", GoGetter: "Config"},
_jsii_.MemberMethod{JsiiMethod: "depth", GoMethod: "Depth"},
_jsii_.MemberMethod{JsiiMethod: "exchangeInfo", GoMethod: "ExchangeInfo"},
_jsii_.MemberMethod{JsiiMethod: "historicalTrades", GoMethod: "HistoricalTrades"},
_jsii_.MemberMethod{JsiiMethod: "klines", GoMethod: "Klines"},
_jsii_.MemberMethod{JsiiMethod: "publicRequest", GoMethod: "PublicRequest"},
_jsii_.MemberMethod{JsiiMethod: "signRequest", GoMethod: "SignRequest"},
_jsii_.MemberMethod{JsiiMethod: "ticker24hr", GoMethod: "Ticker24hr"},
_jsii_.MemberMethod{JsiiMethod: "tickerPrice", GoMethod: "TickerPrice"},
_jsii_.MemberMethod{JsiiMethod: "trades", GoMethod: "Trades"},
},
func() interface{} {
j := jsiiProxy_Market{}
_jsii_.InitJsiiProxy(&j.jsiiProxy_Base)
return &j
},
)
_jsii_.RegisterClass(
"mexc-sdk.Spot",
reflect.TypeOf((*Spot)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberMethod{JsiiMethod: "accountInfo", GoMethod: "AccountInfo"},
_jsii_.MemberMethod{JsiiMethod: "accountTradeList", GoMethod: "AccountTradeList"},
_jsii_.MemberMethod{JsiiMethod: "aggTrades", GoMethod: "AggTrades"},
_jsii_.MemberMethod{JsiiMethod: "allOrders", GoMethod: "AllOrders"},
_jsii_.MemberMethod{JsiiMethod: "avgPrice", GoMethod: "AvgPrice"},
_jsii_.MemberMethod{JsiiMethod: "bookTicker", GoMethod: "BookTicker"},
_jsii_.MemberMethod{JsiiMethod: "cancelOpenOrders", GoMethod: "CancelOpenOrders"},
_jsii_.MemberMethod{JsiiMethod: "cancelOrder", GoMethod: "CancelOrder"},
_jsii_.MemberProperty{JsiiProperty: "config", GoGetter: "Config"},
_jsii_.MemberMethod{JsiiMethod: "depth", GoMethod: "Depth"},
_jsii_.MemberMethod{JsiiMethod: "exchangeInfo", GoMethod: "ExchangeInfo"},
_jsii_.MemberMethod{JsiiMethod: "historicalTrades", GoMethod: "HistoricalTrades"},
_jsii_.MemberMethod{JsiiMethod: "klines", GoMethod: "Klines"},
_jsii_.MemberMethod{JsiiMethod: "newOrder", GoMethod: "NewOrder"},
_jsii_.MemberMethod{JsiiMethod: "newOrderTest", GoMethod: "NewOrderTest"},
_jsii_.MemberMethod{JsiiMethod: "openOrders", GoMethod: "OpenOrders"},
_jsii_.MemberMethod{JsiiMethod: "ping", GoMethod: "Ping"},
_jsii_.MemberMethod{JsiiMethod: "publicRequest", GoMethod: "PublicRequest"},
_jsii_.MemberMethod{JsiiMethod: "queryOrder", GoMethod: "QueryOrder"},
_jsii_.MemberMethod{JsiiMethod: "signRequest", GoMethod: "SignRequest"},
_jsii_.MemberMethod{JsiiMethod: "ticker24hr", GoMethod: "Ticker24hr"},
_jsii_.MemberMethod{JsiiMethod: "tickerPrice", GoMethod: "TickerPrice"},
_jsii_.MemberMethod{JsiiMethod: "time", GoMethod: "Time"},
_jsii_.MemberMethod{JsiiMethod: "trades", GoMethod: "Trades"},
},
func() interface{} {
j := jsiiProxy_Spot{}
_jsii_.InitJsiiProxy(&j.jsiiProxy_Trade)
return &j
},
)
_jsii_.RegisterClass(
"mexc-sdk.Trade",
reflect.TypeOf((*Trade)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberMethod{JsiiMethod: "accountInfo", GoMethod: "AccountInfo"},
_jsii_.MemberMethod{JsiiMethod: "accountTradeList", GoMethod: "AccountTradeList"},
_jsii_.MemberMethod{JsiiMethod: "aggTrades", GoMethod: "AggTrades"},
_jsii_.MemberMethod{JsiiMethod: "allOrders", GoMethod: "AllOrders"},
_jsii_.MemberMethod{JsiiMethod: "avgPrice", GoMethod: "AvgPrice"},
_jsii_.MemberMethod{JsiiMethod: "bookTicker", GoMethod: "BookTicker"},
_jsii_.MemberMethod{JsiiMethod: "cancelOpenOrders", GoMethod: "CancelOpenOrders"},
_jsii_.MemberMethod{JsiiMethod: "cancelOrder", GoMethod: "CancelOrder"},
_jsii_.MemberProperty{JsiiProperty: "config", GoGetter: "Config"},
_jsii_.MemberMethod{JsiiMethod: "depth", GoMethod: "Depth"},
_jsii_.MemberMethod{JsiiMethod: "exchangeInfo", GoMethod: "ExchangeInfo"},
_jsii_.MemberMethod{JsiiMethod: "historicalTrades", GoMethod: "HistoricalTrades"},
_jsii_.MemberMethod{JsiiMethod: "klines", GoMethod: "Klines"},
_jsii_.MemberMethod{JsiiMethod: "newOrder", GoMethod: "NewOrder"},
_jsii_.MemberMethod{JsiiMethod: "newOrderTest", GoMethod: "NewOrderTest"},
_jsii_.MemberMethod{JsiiMethod: "openOrders", GoMethod: "OpenOrders"},
_jsii_.MemberMethod{JsiiMethod: "ping", GoMethod: "Ping"},
_jsii_.MemberMethod{JsiiMethod: "publicRequest", GoMethod: "PublicRequest"},
_jsii_.MemberMethod{JsiiMethod: "queryOrder", GoMethod: "QueryOrder"},
_jsii_.MemberMethod{JsiiMethod: "signRequest", GoMethod: "SignRequest"},
_jsii_.MemberMethod{JsiiMethod: "ticker24hr", GoMethod: "Ticker24hr"},
_jsii_.MemberMethod{JsiiMethod: "tickerPrice", GoMethod: "TickerPrice"},
_jsii_.MemberMethod{JsiiMethod: "time", GoMethod: "Time"},
_jsii_.MemberMethod{JsiiMethod: "trades", GoMethod: "Trades"},
},
func() interface{} {
j := jsiiProxy_Trade{}
_jsii_.InitJsiiProxy(&j.jsiiProxy_UserData)
return &j
},
)
_jsii_.RegisterClass(
"mexc-sdk.UserData",
reflect.TypeOf((*UserData)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberMethod{JsiiMethod: "accountInfo", GoMethod: "AccountInfo"},
_jsii_.MemberMethod{JsiiMethod: "accountTradeList", GoMethod: "AccountTradeList"},
_jsii_.MemberMethod{JsiiMethod: "aggTrades", GoMethod: "AggTrades"},
_jsii_.MemberMethod{JsiiMethod: "avgPrice", GoMethod: "AvgPrice"},
_jsii_.MemberMethod{JsiiMethod: "bookTicker", GoMethod: "BookTicker"},
_jsii_.MemberProperty{JsiiProperty: "config", GoGetter: "Config"},
_jsii_.MemberMethod{JsiiMethod: "depth", GoMethod: "Depth"},
_jsii_.MemberMethod{JsiiMethod: "exchangeInfo", GoMethod: "ExchangeInfo"},
_jsii_.MemberMethod{JsiiMethod: "historicalTrades", GoMethod: "HistoricalTrades"},
_jsii_.MemberMethod{JsiiMethod: "klines", GoMethod: "Klines"},
_jsii_.MemberMethod{JsiiMethod: "ping", GoMethod: "Ping"},
_jsii_.MemberMethod{JsiiMethod: "publicRequest", GoMethod: "PublicRequest"},
_jsii_.MemberMethod{JsiiMethod: "signRequest", GoMethod: "SignRequest"},
_jsii_.MemberMethod{JsiiMethod: "ticker24hr", GoMethod: "Ticker24hr"},
_jsii_.MemberMethod{JsiiMethod: "tickerPrice", GoMethod: "TickerPrice"},
_jsii_.MemberMethod{JsiiMethod: "time", GoMethod: "Time"},
_jsii_.MemberMethod{JsiiMethod: "trades", GoMethod: "Trades"},
},
func() interface{} {
j := jsiiProxy_UserData{}
_jsii_.InitJsiiProxy(&j.jsiiProxy_Common)
return &j
},
)
}