From 8b0873f658c5ecbb983e5934118a880ed12cc4ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Mon, 1 Jan 2024 14:42:49 +0800 Subject: [PATCH] add scheme --- scheme.go | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 scheme.go diff --git a/scheme.go b/scheme.go new file mode 100644 index 0000000..26e6bfc --- /dev/null +++ b/scheme.go @@ -0,0 +1,38 @@ +// Package consts ... +// +// Description : consts ... +// +// Author : go_developer@163.com<白茶清欢> +// +// Date : 2024-01-01 14:33 +package consts + +const ( + SchemeHTTP = "http" + SchemeHTTPS = "https" + SchemeWs = "ws" + SchemeWss = "wss" + + SchemeSms = "sms" // SchemeSms 短信 + SchemeTel = "tel" // SchemeTel 电话 + SchemeMobileNotes = "mobilenotes" // SchemeMobileNotes 备忘录 + SchemeMessage = "MESSAGE" // SchemeMessage E-MAIL + + SchemeAliPay = "alipay" // SchemeAliPay 支付宝 + SchemeDingTalk = "dingtalk" // SchemeDingTalk 钉钉 + SchemeWeChat = "wechat" // SchemeWeChat 微信 + SchemeWeiXin = "weixin" // SchemeWeiXin 微信 + + SchemeTCP = "tcp" + SchemeUDP = "udp" + SchemeUnix = "unix" + SchemeKCP = "kcp" + SchemeQuic = "quic" + SchemeGRPC = "grpc" + SchemeMQTT = "mqtt" + SchemeMQTT5 = "mqtt5" + SchemeMQTTN = "mqttn" + SchemeMQTTv3 = "mqttv3" + SchemeMQTTv4 = "mqttv4" + SchemeMQTTv5 = "mqttv5" +)