This is an automated email from the ASF dual-hosted git repository.

littlecui pushed a commit to branch alarm
in repository https://gitbox.apache.org/repos/asf/servicecomb-service-center.git

commit ae78783e2f6084286b85a8e400a3b07ecdd7e5a2
Author: little-cui <[email protected]>
AuthorDate: Tue Nov 27 22:23:34 2018 +0800

    SCB-1049 Alarm center
---
 server/alarm/alarm.go | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/server/alarm/alarm.go b/server/alarm/alarm.go
new file mode 100644
index 0000000..fc6feef
--- /dev/null
+++ b/server/alarm/alarm.go
@@ -0,0 +1,25 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements.  See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License.  You may obtain a copy of the License at
+//
+//     http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package alarm
+
+const (
+       CodeBackendConnectionRefuse = iota
+       CodeServerOverload
+       CodeServiceQuotaLimit
+       CodeInstanceQuotaLimit
+       CodeDiagnoseFailure
+       CodeInternalError
+)

Reply via email to