%%-------------------------------------------------------------------- %% Copyright (c) 2022-2023 EMQ Technologies Co., Ltd. All Rights Reserved. %% %% @doc EMQX License Management CLI. %%-------------------------------------------------------------------- -ifndef(_EMQX_LICENSE_). -define(_EMQX_LICENSE_, true). -define(EVALUATION_LOG, "\n" "========================================================================\n" "Using an evaluation license limited to ~p concurrent connections.\n" "Apply for a license at https://emqx.com/apply-licenses/emqx.\n" "Or contact EMQ customer services.\n" "========================================================================\n" ). -define(EXPIRY_LOG, "\n" "========================================================================\n" "License has been expired for ~p days.\n" "Apply for a new license at https://emqx.com/apply-licenses/emqx.\n" "Or contact EMQ customer services.\n" "========================================================================\n" ). -define(OFFICIAL, 1). -define(TRIAL, 0). -define(SMALL_CUSTOMER, 0). -define(MEDIUM_CUSTOMER, 1). -define(LARGE_CUSTOMER, 2). -define(EVALUATION_CUSTOMER, 10). -define(EXPIRED_DAY, -90). -define(ERR_EXPIRED, expired). -endif.