V0.4.1 (#9)
* Add ec_utils dep * Add base58 dep. Add search tags to zomp package. * Add nonsensical TLS feature. * Minor verup. Adding TLS support. * Correct option name * Patch increase
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
%%% @end
|
||||
|
||||
-module(vanillae).
|
||||
-vsn("0.3.1").
|
||||
-vsn("0.4.1").
|
||||
-behavior(application).
|
||||
-author("Craig Everett <ceverett@tsuriai.jp>").
|
||||
-copyright("Craig Everett <ceverett@tsuriai.jp>").
|
||||
@@ -35,6 +35,7 @@
|
||||
% Get/Set admin functions.
|
||||
-export([network_id/0, network_id/1,
|
||||
ae_nodes/0, ae_nodes/1,
|
||||
tls/0, tls/1,
|
||||
timeout/0, timeout/1]).
|
||||
|
||||
% AE node JSON query interface functions
|
||||
@@ -269,6 +270,24 @@ ae_nodes(List) when is_list(List) ->
|
||||
vanillae_man:ae_nodes(List).
|
||||
|
||||
|
||||
-spec tls() -> boolean().
|
||||
%% @doc
|
||||
%% Check whether TLS is in use.
|
||||
|
||||
tls() ->
|
||||
vanillae_man:tls().
|
||||
|
||||
|
||||
-spec tls(boolean()) -> ok.
|
||||
%% @doc
|
||||
%% Set TLS true or false. That's what a boolean is, by the way, `true' or `false'.
|
||||
%% This is a condescending comment. That means I am talking down to you.
|
||||
|
||||
tls(Boolean) ->
|
||||
vanillae_man:tls(Boolean).
|
||||
|
||||
|
||||
|
||||
-spec timeout() -> Timeout
|
||||
when Timeout :: pos_integer() | infinity.
|
||||
%% @doc
|
||||
|
||||
Reference in New Issue
Block a user