From 364679d1495a0c5c34409005c8e4895b7c7bd851 Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 12 Sep 2018 13:26:56 +0900 Subject: [PATCH] ing --- meta/MetaServiceType.go | 38 ++++++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/meta/MetaServiceType.go b/meta/MetaServiceType.go index 1d0e859..8a2d8a3 100644 --- a/meta/MetaServiceType.go +++ b/meta/MetaServiceType.go @@ -18,6 +18,8 @@ type MetaServiceTypeEnum int const ( MetaServiceTypeEnumUNKNOWN MetaServiceTypeEnum = iota + 1 MetaServiceTypeEnumNetwork + MetaServiceTypeEnumDirectory + MetaServiceTypeEnumMonitoring MetaServiceTypeEnumDatabase MetaServiceTypeEnumNoSQL MetaServiceTypeEnumMail @@ -28,25 +30,29 @@ const ( var ( metaServiceTypeEnumID = map[MetaServiceTypeEnum]string{ - MetaServiceTypeEnumUNKNOWN: "UNKNOWN", - MetaServiceTypeEnumNetwork: "NETWORK", - MetaServiceTypeEnumDatabase: "DATABASE", - MetaServiceTypeEnumNoSQL: "NOSQL", - MetaServiceTypeEnumMail: "MAIL", - MetaServiceTypeEnumSearch: "SEARCH", - MetaServiceTypeEnumWeb: "WEB", - MetaServiceTypeEnumWAS: "WAS", + MetaServiceTypeEnumUNKNOWN: "UNKNOWN", + MetaServiceTypeEnumNetwork: "NETWORK", + MetaServiceTypeEnumMonitoring: "MONITORING", + MetaServiceTypeEnumDirectory: "DIRECTORY", + MetaServiceTypeEnumDatabase: "DATABASE", + MetaServiceTypeEnumNoSQL: "NOSQL", + MetaServiceTypeEnumMail: "MAIL", + MetaServiceTypeEnumSearch: "SEARCH", + MetaServiceTypeEnumWeb: "WEB", + MetaServiceTypeEnumWAS: "WAS", } metaServiceTypeEnumKey = map[string]MetaServiceTypeEnum{ - "UNKNOWN": MetaServiceTypeEnumUNKNOWN, - "NETWORK": MetaServiceTypeEnumNetwork, - "DATABASE": MetaServiceTypeEnumDatabase, - "NOSQL": MetaServiceTypeEnumNoSQL, - "MAIL": MetaServiceTypeEnumMail, - "SEARCH": MetaServiceTypeEnumSearch, - "WEB": MetaServiceTypeEnumWeb, - "WAS": MetaServiceTypeEnumWAS, + "UNKNOWN": MetaServiceTypeEnumUNKNOWN, + "NETWORK": MetaServiceTypeEnumNetwork, + "MONITORING": MetaServiceTypeEnumMonitoring, + "DIRECTORY": MetaServiceTypeEnumDirectory, + "DATABASE": MetaServiceTypeEnumDatabase, + "NOSQL": MetaServiceTypeEnumNoSQL, + "MAIL": MetaServiceTypeEnumMail, + "SEARCH": MetaServiceTypeEnumSearch, + "WEB": MetaServiceTypeEnumWeb, + "WAS": MetaServiceTypeEnumWAS, } )