Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
niuzhi committed Jun 16, 2023
1 parent 661b7f9 commit bc60e1e
Show file tree
Hide file tree
Showing 25 changed files with 1,048 additions and 1,973 deletions.
Binary file added backend/code-shooting
Binary file not shown.
4 changes: 4 additions & 0 deletions backend/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,10 @@ gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8X
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
gopkg.in/inconshreveable/log15.v2 v2.0.0-20180818164646-67afb5ed74ec/go.mod h1:aPpfJ7XW+gOuirDoZ8gHhLh3kZ1B08FtV2bbmy7Jv3s=
gopkg.in/natefinch/lumberjack.v1 v1.0.0-20140618183000-8ec9c6b748e0 h1:ffRiAJEqnwLdA8o1FHaLUIsVU2iksUo5U0211MTjkQ8=
gopkg.in/natefinch/lumberjack.v1 v1.0.0-20140618183000-8ec9c6b748e0/go.mod h1:9r9l0BZKp+kWFXo1/vMY5zRSuLTYRNahsYtqA7H8O0o=
gopkg.in/natefinch/lumberjack.v2 v2.2.1 h1:bBRl1b0OH9s/DuPhuXpNl+VtCaJXFZ5/uEFST95x9zc=
gopkg.in/natefinch/lumberjack.v2 v2.2.1/go.mod h1:YD8tP3GAjkrDg1eZH7EGmyESg/lsYskCTPBJVb9jqSc=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
Expand Down
35 changes: 35 additions & 0 deletions backend/infra/common/constants/constants.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
package constants

const (
ROOT = "code-shooting"
NODE = "app"
APP_NAME = "name"
APP_NAMESPACE = "namespace"

DATABASE_ES = "databases.es"
DATABASE_PG = "databases.postgres"
DATABASE_REDIS = "databases.redis"
EVENT_CENTER = "eventCenter"
FILE_TRANSFER = "fileTransfer"
GRPC_CLIENT = "grpcClient"
GRPC_SERVER = "grpcServers"
HTTP_CLIENT = "httpclient"
LEADER_ELECTION = "leaderElection"
LOG = "log"
LOG_LEVEL = "log.level"
LOG_ROTATE_CONFIG = "log.rotateConfig"
LOG_ROTATE_CONFIG_MAXSIZE = "log.rotateConfig.maxSize"
LOG_ROTATE_CONFIG_MAXBACKUPS = "log.rotateConfig.maxBackups"
LOG_ROTATE_CONFIG_MAXAGE = "log.rotateConfig.maxAge"
LOG_ROTATE_CONFIG_COMPRESS = "log.rotateConfig.compress"
MESSAGEBUS_KAFKA = "messagebus.kafka"
NETCONF_CLIENT = "netconfClient"
OBSERVABILITY_METRICS = "observability.metrics"
OBSERVABILITY_TRACING = "tracing"
REST_SERVER = "rest-servers"
SNMP_NMS = "snmp.nms"
ZOOKEEPER = "zookeeper"
SERVICE_CENTER_MSB = "serviceCenter.msb"
SCENE = "scene"
SERVICE_FOR_PICT_SCENE = "pict"
)
Loading

0 comments on commit bc60e1e

Please sign in to comment.