fix: erlang_ls complains gateway hrl file can not be found
This commit is contained in:
parent
a218ff6dd8
commit
17edeead6e
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
-behaviour(gen_server).
|
-behaviour(gen_server).
|
||||||
|
|
||||||
-include("include/emqx_gateway.hrl").
|
-include("emqx_gateway.hrl").
|
||||||
-include_lib("emqx/include/logger.hrl").
|
-include_lib("emqx/include/logger.hrl").
|
||||||
-include_lib("snabbkaffe/include/snabbkaffe.hrl").
|
-include_lib("snabbkaffe/include/snabbkaffe.hrl").
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
%% @doc The gateway connection registry
|
%% @doc The gateway connection registry
|
||||||
-module(emqx_gateway_cm_registry).
|
-module(emqx_gateway_cm_registry).
|
||||||
|
|
||||||
-include("include/emqx_gateway.hrl").
|
-include("emqx_gateway.hrl").
|
||||||
|
|
||||||
-behaviour(gen_server).
|
-behaviour(gen_server).
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
%% @doc The gateway instance context
|
%% @doc The gateway instance context
|
||||||
-module(emqx_gateway_ctx).
|
-module(emqx_gateway_ctx).
|
||||||
|
|
||||||
-include("include/emqx_gateway.hrl").
|
-include("emqx_gateway.hrl").
|
||||||
|
|
||||||
%% @doc The running context for a Connection/Channel process.
|
%% @doc The running context for a Connection/Channel process.
|
||||||
%%
|
%%
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
-behaviour(supervisor).
|
-behaviour(supervisor).
|
||||||
|
|
||||||
-include("include/emqx_gateway.hrl").
|
-include("emqx_gateway.hrl").
|
||||||
|
|
||||||
-export([start_link/1]).
|
-export([start_link/1]).
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
%% @doc Gateway Interface Module for HTTP-APIs
|
%% @doc Gateway Interface Module for HTTP-APIs
|
||||||
-module(emqx_gateway_http).
|
-module(emqx_gateway_http).
|
||||||
|
|
||||||
-include("include/emqx_gateway.hrl").
|
-include("emqx_gateway.hrl").
|
||||||
-include_lib("emqx/include/logger.hrl").
|
-include_lib("emqx/include/logger.hrl").
|
||||||
-include_lib("emqx_auth/include/emqx_authn_chains.hrl").
|
-include_lib("emqx_auth/include/emqx_authn_chains.hrl").
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
-behaviour(gen_server).
|
-behaviour(gen_server).
|
||||||
|
|
||||||
-include("include/emqx_gateway.hrl").
|
-include("emqx_gateway.hrl").
|
||||||
-include_lib("emqx/include/logger.hrl").
|
-include_lib("emqx/include/logger.hrl").
|
||||||
|
|
||||||
%% APIs
|
%% APIs
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
%% @doc The Registry Centre of Gateway
|
%% @doc The Registry Centre of Gateway
|
||||||
-module(emqx_gateway_registry).
|
-module(emqx_gateway_registry).
|
||||||
|
|
||||||
-include("include/emqx_gateway.hrl").
|
-include("emqx_gateway.hrl").
|
||||||
|
|
||||||
-behaviour(gen_server).
|
-behaviour(gen_server).
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
-behaviour(supervisor).
|
-behaviour(supervisor).
|
||||||
|
|
||||||
-include("include/emqx_gateway.hrl").
|
-include("emqx_gateway.hrl").
|
||||||
|
|
||||||
-export([start_link/0]).
|
-export([start_link/0]).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue