This commit is contained in:
crusader 2018-10-10 22:31:48 +09:00
parent e38f5b60a5
commit b5bf68fb41

View File

@ -26,17 +26,21 @@ const (
var (
metaHostTypeEnumID = map[MetaHostTypeEnum]string{
MetaHostTypeEnumHost: "HOST",
MetaHostTypeEnumNAS: "NAS",
MetaHostTypeEnumPrinter: "PRINTER",
MetaHostTypeEnumRouter: "ROUTER",
MetaHostTypeEnumHost: "HOST",
MetaHostTypeEnumNAS: "NAS",
MetaHostTypeEnumPrinter: "PRINTER",
MetaHostTypeEnumRouter: "ROUTER",
MetaHostTypeEnumWLANAccessPoint: "WLAN_ACCESS_POINT",
MetaHostTypeEnumMediaServer: "MEDIA_SERVER",
}
metaHostTypeEnumKey = map[string]MetaHostTypeEnum{
"HOST": MetaHostTypeEnumHost,
"NAS": MetaHostTypeEnumNAS,
"PRINTER": MetaHostTypeEnumPrinter,
"ROUTER": MetaHostTypeEnumRouter,
"HOST": MetaHostTypeEnumHost,
"NAS": MetaHostTypeEnumNAS,
"PRINTER": MetaHostTypeEnumPrinter,
"ROUTER": MetaHostTypeEnumRouter,
"WLAN_ACCESS_POINT": MetaHostTypeEnumWLANAccessPoint,
"MEDIA_SERVER": MetaHostTypeEnumMediaServer,
}
)