diff --git a/model/attr/zone.go b/model/attr/zone.go index 3e3c667..b3d20d3 100644 --- a/model/attr/zone.go +++ b/model/attr/zone.go @@ -26,6 +26,9 @@ const ( // ServerKeyZone for attributes related to Server Keys ServerKeyZone = Zone("serverkey") + // ServerZone is for attributes related to the server + ServerZone = Zone("server") + // UnknownZone is a catch all useful for error handling UnknownZone = Zone("unknown") ) @@ -56,6 +59,8 @@ func ParseZone(path string) (Zone, string) { return FilesharingZone, parts[1] case ServerKeyZone: return ServerKeyZone, parts[1] + case ServerZone: + return ServerZone, parts[1] default: return UnknownZone, parts[1] }