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 ( var (
metaHostTypeEnumID = map[MetaHostTypeEnum]string{ metaHostTypeEnumID = map[MetaHostTypeEnum]string{
MetaHostTypeEnumHost: "HOST", MetaHostTypeEnumHost: "HOST",
MetaHostTypeEnumNAS: "NAS", MetaHostTypeEnumNAS: "NAS",
MetaHostTypeEnumPrinter: "PRINTER", MetaHostTypeEnumPrinter: "PRINTER",
MetaHostTypeEnumRouter: "ROUTER", MetaHostTypeEnumRouter: "ROUTER",
MetaHostTypeEnumWLANAccessPoint: "WLAN_ACCESS_POINT",
MetaHostTypeEnumMediaServer: "MEDIA_SERVER",
} }
metaHostTypeEnumKey = map[string]MetaHostTypeEnum{ metaHostTypeEnumKey = map[string]MetaHostTypeEnum{
"HOST": MetaHostTypeEnumHost, "HOST": MetaHostTypeEnumHost,
"NAS": MetaHostTypeEnumNAS, "NAS": MetaHostTypeEnumNAS,
"PRINTER": MetaHostTypeEnumPrinter, "PRINTER": MetaHostTypeEnumPrinter,
"ROUTER": MetaHostTypeEnumRouter, "ROUTER": MetaHostTypeEnumRouter,
"WLAN_ACCESS_POINT": MetaHostTypeEnumWLANAccessPoint,
"MEDIA_SERVER": MetaHostTypeEnumMediaServer,
} }
) )