Futures-Go-demo/

directory
v0.0.0-...-ece4ffb Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2019 License: Apache-2.0, Apache-2.0

README

HBDM - Go Language

包含 WebSocket 行情,交易 API ; WebSocket 订单推送 API ; REST 行情,交易 API

依赖管理

支持Dep和Glide管理依赖

实例代码

配置文件

修改 配置文件todo的部分,替换成自己的Key和自己要连接的服务地址

测试用例

可以参考接口测试

运行

go run main/main.go

Directories

Path Synopsis
_vendor-20190121094707
github.com/dgrijalva/jwt-go
Package jwt is a Go implementation of JSON Web Tokens: http://self-issued.info/docs/draft-jones-json-web-token.html See README.md for more info.
Package jwt is a Go implementation of JSON Web Tokens: http://self-issued.info/docs/draft-jones-json-web-token.html See README.md for more info.
github.com/gorilla/websocket
Package websocket implements the WebSocket protocol defined in RFC 6455.
Package websocket implements the WebSocket protocol defined in RFC 6455.
golang.org/x/net/websocket
Package websocket implements a client and server for the WebSocket protocol as specified in RFC 6455.
Package websocket implements a client and server for the WebSocket protocol as specified in RFC 6455.

Jump to

Keyboard shortcuts

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