From b5bf68fb413fd1ff24cee3e3a808e6983604b162 Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 10 Oct 2018 22:31:48 +0900 Subject: [PATCH] ing --- meta/MetaHostType.go | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/meta/MetaHostType.go b/meta/MetaHostType.go index 9d0352e..bdcce67 100644 --- a/meta/MetaHostType.go +++ b/meta/MetaHostType.go @@ -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, } )