1 Star 0 Fork 17

sh7ning-mirror/h-exchange

forked from picker/h-exchange 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.go 417 Bytes
一键复制 编辑 原始数据 按行查看 历史
hsc 提交于 2018-11-24 02:06 . 完成限价单内存撮合引擎
package main
import (
"h-exchange_dev_v0.1/httpserver"
"h-exchange_dev_v0.1/libs/types"
_ "h-exchange_dev_v0.1/libs/utils"
"h-exchange_dev_v0.1/match_engine"
"log"
"runtime"
)
func main() {
runtime.GOMAXPROCS(runtime.NumCPU())
log.Println("撮合引擎正在启动")
go match_engine.ReceiveLimitOrderByHttp(htypes.GlobalMsg.PutOrderChanByHttp)
match_engine.InitMarket()
httpserver.AccessHttpInit()
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/sh7ning-mirror/h-exchange.git
git@gitee.com:sh7ning-mirror/h-exchange.git
sh7ning-mirror
h-exchange
h-exchange
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385