This commit is contained in:
crusader 2018-05-04 18:18:41 +09:00
parent 38f12b4fbe
commit 9d56a49b7d

View File

@ -14,12 +14,12 @@ var (
ContainerBinFileName = map[ContainerType]string{
ContainerDiscovery: "container_discovery",
ContainerNetwork: "container_network",
ContainerGenernal: "container_general.jar",
ContainerGeneral: "container_general.jar",
}
ContainerLoggingConfigFileName = map[ContainerType]string{
ContainerDiscovery: "discovery.logging.json",
ContainerNetwork: "network.logging.json",
ContainerGenernal: "general.logging.xml",
ContainerGeneral: "general.logging.xml",
}
)
@ -28,20 +28,20 @@ type ContainerType int
const (
ContainerDiscovery ContainerType = iota
ContainerNetwork
ContainerGenernal
ContainerGeneral
)
var (
containerTypeID = map[ContainerType]string{
ContainerDiscovery: "DISCOVERY",
ContainerNetwork: "NETWORK",
ContainerGenernal: "GENERNAL",
ContainerGeneral: "GENERAL",
}
containerTypeName = map[string]ContainerType{
"DISCOVERY": ContainerDiscovery,
"NETWORK": ContainerNetwork,
"GENERNAL": ContainerGenernal,
"GENERAL": ContainerGeneral,
}
)