aboutsummaryrefslogtreecommitdiff
path: root/lib/client.ml
diff options
context:
space:
mode:
authorAdelyn Breedlove <[email protected]>2019-01-13 23:52:45 +0000
committerAdelyn Breedlove <[email protected]>2019-01-13 23:52:45 +0000
commitd95f0342f9cf2280b5d9794ab638c16a59c02a69 (patch)
tree191164d198c07cf388d9aae8a54013e5613c272c /lib/client.ml
parentMerge branch 'dev' into 'master' (diff)
parentAdd deriving sexp to models (diff)
downloaddisml-d95f0342f9cf2280b5d9794ab638c16a59c02a69.tar.xz
disml-d95f0342f9cf2280b5d9794ab638c16a59c02a69.zip
Merge branch 'switch-to-deriving_yojson' into 'master'
Switch to deriving yojson See merge request Mishio595/disml!12
Diffstat (limited to 'lib/client.ml')
-rw-r--r--lib/client.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/client.ml b/lib/client.ml
index 229c9cc..6ee4a3a 100644
--- a/lib/client.ml
+++ b/lib/client.ml
@@ -1,7 +1,5 @@
-open Async
-
module Make(T : S.Token)(H : S.Handler_f) = struct
- include T
+ open Async
module Http = Http.Make(T)
module Models = Models.Make(Http)
@@ -14,6 +12,8 @@ module Make(T : S.Token)(H : S.Handler_f) = struct
token: string;
}
+ let token = T.token
+
let start ?count () =
Sharder.start ?count ()
>>| fun sharder ->