ing
This commit is contained in:
parent
38f12b4fbe
commit
9d56a49b7d
|
@ -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,
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user