commit | c4039dd69001b6302af54287cf928b61978c674a | [log] [tgz] |
---|---|---|
author | Robert Newson <rnewson@apache.org> | Thu Jun 18 17:19:30 2015 +0100 |
committer | Robert Newson <rnewson@apache.org> | Thu Jun 18 17:19:30 2015 +0100 |
tree | 22dd53236d5babbf453ff7156bfc077d7c1a2463 | |
parent | a060a7560a698b4a536011d5bf16546ece6e0979 [diff] |
export functions for use in chttpd_misc
diff --git a/src/couch_stats_httpd.erl b/src/couch_stats_httpd.erl index 415ab4e..f31fccf 100644 --- a/src/couch_stats_httpd.erl +++ b/src/couch_stats_httpd.erl
@@ -15,6 +15,9 @@ -export([handle_stats_req/1]). +%% exported for use by chttpd_misc +-export([transform_stats/1, nest/1, to_ejson/1, extract_path/2]). + handle_stats_req(#httpd{method='GET', path_parts=[_ | Path]}=Req) -> flush(Req), Stats0 = couch_stats:fetch(),