chore: 并入 iotlcm-upstream-chan 历史到 upstream-chan/(原提交 1e74497)

This commit is contained in:
MiFaZhan
2026-11-02 13:28:02 +08:00
192 changed files with 33119 additions and 0 deletions
@@ -0,0 +1,14 @@
// Package xjpubconsts
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package xjpubconsts
const (
HTTPContentTypeXml = "text/xml"
HTTPContentTypeHtml = "text/html"
HTTPContentTypeStream = "text/event-stream"
HTTPContentTypeJson = "application/json"
HTTPContentTypeExcel = "application/octet-stream"
)
@@ -0,0 +1,17 @@
package xjpubconsts
const (
ServiceTypeWeb = "web" // web服务
ServiceTypeQueue = "queue" // 队列服务
ServiceTypeRedis = "redis" // 缓存类型
ServiceTypeNotice = "notice" // 通知服务
ServiceTypeTask = "task" // 任务服务
ServiceTypeAccess = "access" // 接入服务
)
const (
ServiceNameYzAdminWeb = "yzadmin-web-svc" // 后台管理服务
ServiceNameYzUpstreamChanSvc = "yzupstreamchan-grpc-svc" // 上游通道服务
ServiceNameYzUpstreamProxySvc = "yzupstreamproxy-grpc-svc" // 上游代理服务
ServiceNameYzApiHttpSvc = "yzapi-http-svc" // API 服务
)