Comments (7)
@xf005 , could you tell us how you use the SDK and why do you want to import internal package?
The purpose of internal package, as the name indiated, is used internally, you don’t need to care about the internal package. What you need to import is the “pkg” package.
from huobi_golang.
Go module management project,reuse websocket method in cmd package. It's confusing to use the websocket method from the example in my project.
from huobi_golang.
The example just shows how to use the “client” package, you should import the client package in your own project, and write something similar with the examples.
Today we introduce the go modules and updated the README file, it is easier to import the package in your own project now.
from huobi_golang.
when i create accountwebsocketclient.RequestAccountWebSocketV1Client , the client method SetHandler first param websocketclientbase.AuthenticationV1ResponseHandler which define func(resp *model.WebSocketV1AuthenticationResponse), the function param resp used internal pkg
from huobi_golang.
@simpdo I noticed that issue and I will do a fix. Thanks for the feedback.
from huobi_golang.
We have fixed this issue by moving websocket authentication response from internal to pkg, now you can get latest code from master branch.
from huobi_golang.
@eynzhang i have the same issue today, when i update to latest code, it fixed, thank you.
from huobi_golang.
Related Issues (20)
- Infinite reconnecting loop HOT 7
- How can I get history candlestick data with websocket HOT 1
- 查询历史账号报错:Format Error: account-id. HOT 2
- 有查询兑换人民币的接口吗 HOT 1
- placeOrder 示例错误代码:Invalid order source spot api HOT 9
- 代码发布后麻烦先测试一下 HOT 2
- eth3lusdt下单 总是成功不了
- websocket 接口很容易出现重新链接 HOT 2
- k8s内运行问题 HOT 1
- PlaceOrder tell me `invalid-client-order-id invalid.client.order.id (NT)` HOT 1
- get order info failed after create order
- cannot find package "." in: github.com/huobirdcenter/huobi_golang/pkg/client/orderwebsocketclient HOT 1
- Is `client.Close()` a blocking call?
- Make logging pluggable
- 获取订单详情缺少`canceled-at`和`finished-at`
- 现在不维护了吗
- 现在不维护了吗
- Changes by the Optimization of “Search Past Orders” Interface on API
- Considering update GetAllSymbols() to v2?
- Cannot unmarshal number into Go struct field CancelOrderByIdResponse.order-state of type string HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from huobi_golang.