From 3e57f5497825658817be27fab7856d4e10ebb430 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=B1=E7=BA=AF=E5=87=80?= <1113655791@qq.com> Date: Mon, 3 Mar 2025 22:35:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=85=A8=E5=B1=80=E5=8F=98?= =?UTF-8?q?=E9=87=8FExchangeEstablish(=E4=B8=8A=E6=B5=B7=E4=BA=A4=E6=98=93?= =?UTF-8?q?=E6=89=80=E6=88=90=E7=AB=8B=E6=97=B6=E9=97=B4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocol/const.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/protocol/const.go b/protocol/const.go index 40bdc72..1c341a8 100644 --- a/protocol/const.go +++ b/protocol/const.go @@ -1,5 +1,7 @@ package protocol +import "time" + const ( TypeConnect = 0x000D //建立连接 TypeHeart = 0x0004 //心跳 @@ -12,6 +14,11 @@ const ( TypeKline = 0x052D //K线图 ) +var ( + // ExchangeEstablish 交易所成立时间 + ExchangeEstablish = time.Date(1990, 12, 19, 0, 0, 0, 0, time.Local) +) + /* 从其他地方复制 const (