ing
This commit is contained in:
parent
fac45a284d
commit
ad004e327e
|
@ -5,25 +5,36 @@ import (
|
|||
"fmt"
|
||||
)
|
||||
|
||||
const (
|
||||
ContainerGeneralBinFileName = "general.jar"
|
||||
ContainerGeneralLoggingConfigFileName = "general.logging.json"
|
||||
|
||||
ContainerNetworkBinFileName = "network"
|
||||
ContainerNetworkLoggingConfigFileName = "network.logging.json"
|
||||
|
||||
ContainerDiscoveryBinFileName = "discovery"
|
||||
ContainerDiscoveryLoggingConfigFileName = "discovery.logging.json"
|
||||
)
|
||||
|
||||
type ContainerType int
|
||||
|
||||
const (
|
||||
DISCOVERY ContainerType = iota
|
||||
NETWORK
|
||||
GENERNAL
|
||||
ContainerDiscovery ContainerType = iota
|
||||
ContainerNetwork
|
||||
ContainerGenernal
|
||||
)
|
||||
|
||||
var (
|
||||
containerTypeID = map[ContainerType]string{
|
||||
DISCOVERY: "DISCOVERY",
|
||||
NETWORK: "NETWORK",
|
||||
GENERNAL: "GENERNAL",
|
||||
ContainerDiscovery: "DISCOVERY",
|
||||
ContainerNetwork: "NETWORK",
|
||||
ContainerGenernal: "GENERNAL",
|
||||
}
|
||||
|
||||
containerTypeName = map[string]ContainerType{
|
||||
"DISCOVERY": DISCOVERY,
|
||||
"NETWORK": NETWORK,
|
||||
"GENERNAL": GENERNAL,
|
||||
"DISCOVERY": ContainerDiscovery,
|
||||
"NETWORK": ContainerNetwork,
|
||||
"GENERNAL": ContainerGenernal,
|
||||
}
|
||||
)
|
||||
|
||||
|
|
|
@ -9,16 +9,4 @@ const (
|
|||
PathConfig = "config"
|
||||
PathJRE = "jre"
|
||||
PathLogs = "logs"
|
||||
|
||||
ContainerGeneralName = "general"
|
||||
ContainerGeneralFileName = "general.jar"
|
||||
ContainerGeneralLogConfigFileName = "general.logging.json"
|
||||
|
||||
ContainerNetworkName = "network"
|
||||
ContainerNetworkFileName = "network"
|
||||
ContainerNetworkLogConfigFileName = "network.logging.json"
|
||||
|
||||
ContainerDiscoveryName = "discovery"
|
||||
ContainerDiscoveryFileName = "discovery"
|
||||
ContainerDiscoveryLogConfigFileName = "discovery.logging.json"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user