rm 'hidden'

This commit is contained in:
Feng Lee 2016-12-06 15:24:15 +08:00
parent e550b80974
commit 0f55fafcb3
1 changed files with 8 additions and 15 deletions

View File

@ -270,8 +270,7 @@ end}.
%% @doc Allow Anonymous %% @doc Allow Anonymous
{mapping, "mqtt.allow_anonymous", "emqttd.allow_anonymous", [ {mapping, "mqtt.allow_anonymous", "emqttd.allow_anonymous", [
{default, false}, {default, false},
{datatype, {enum, [true, false]}}, {datatype, {enum, [true, false]}}
hidden
]}. ]}.
%% @doc Default ACL File %% @doc Default ACL File
@ -283,8 +282,7 @@ end}.
%% @doc Cache ACL for PUBLISH %% @doc Cache ACL for PUBLISH
{mapping, "mqtt.cache_acl", "emqttd.cache_acl", [ {mapping, "mqtt.cache_acl", "emqttd.cache_acl", [
{default, true}, {default, true},
{datatype, {enum, [true, false]}}, {datatype, {enum, [true, false]}}
hidden
]}. ]}.
%%-------------------------------------------------------------------- %%--------------------------------------------------------------------
@ -351,8 +349,7 @@ end}.
%% @doc Topic Priority: 0~255, Default is 0 %% @doc Topic Priority: 0~255, Default is 0
{mapping, "mqtt.queue.priority", "emqttd.queue", [ {mapping, "mqtt.queue.priority", "emqttd.queue", [
{default, ""}, {default, ""},
{datatype, string}, {datatype, string}
hidden
]}. ]}.
%% @doc Max queue length. Enqueued messages when persistent client disconnected, or inflight window is full. %% @doc Max queue length. Enqueued messages when persistent client disconnected, or inflight window is full.
@ -364,15 +361,13 @@ end}.
%% @doc Low-water mark of queued messages %% @doc Low-water mark of queued messages
{mapping, "mqtt.queue.low_watermark", "emqttd.queue", [ {mapping, "mqtt.queue.low_watermark", "emqttd.queue", [
{default, "20%"}, {default, "20%"},
{datatype, string}, {datatype, string}
hidden
]}. ]}.
%% @doc High-water mark of queued messages %% @doc High-water mark of queued messages
{mapping, "mqtt.queue.high_watermark", "emqttd.queue", [ {mapping, "mqtt.queue.high_watermark", "emqttd.queue", [
{default, "60%"}, {default, "60%"},
{datatype, string}, {datatype, string}
hidden
]}. ]}.
%% @doc Queue Qos0 messages? %% @doc Queue Qos0 messages?
@ -425,8 +420,7 @@ end}.
{mapping, "mqtt.pubsub.async", "emqttd.pubsub", [ {mapping, "mqtt.pubsub.async", "emqttd.pubsub", [
{default, true}, {default, true},
{datatype, {enum, [true, false]}}, {datatype, {enum, [true, false]}}
hidden
]}. ]}.
{translation, "emqttd.pubsub", fun(Conf) -> {translation, "emqttd.pubsub", fun(Conf) ->
@ -487,8 +481,7 @@ end}.
{mapping, "mqtt.listener.tcp.rate_limit", "emqttd.listeners", [ {mapping, "mqtt.listener.tcp.rate_limit", "emqttd.listeners", [
{default, undefined}, {default, undefined},
{datatype, string}, {datatype, string}
hidden
]}. ]}.
{mapping, "mqtt.listener.tcp.backlog", "emqttd.listeners", [ {mapping, "mqtt.listener.tcp.backlog", "emqttd.listeners", [
@ -577,7 +570,7 @@ end}.
{mapping, "mqtt.listener.https", "emqttd.listeners", [ {mapping, "mqtt.listener.https", "emqttd.listeners", [
%%{default, 8084}, %%{default, 8084},
{datatype, [integer, ip]}, {datatype, [integer, ip]}
]}. ]}.
{mapping, "mqtt.listener.https.acceptors", "emqttd.listeners", [ {mapping, "mqtt.listener.https.acceptors", "emqttd.listeners", [