aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/xyz/driver/core/rest/ServiceDiscovery.scala
diff options
context:
space:
mode:
authorZach Smith <zach@driver.xyz>2017-09-27 22:20:53 -0700
committerZach Smith <zach@driver.xyz>2017-10-12 16:48:08 -0700
commit2c524be93052fc6d57359a00fd60d957099885c6 (patch)
treeb68467ca2fd4f4f101da1ce315c022ab12220145 /src/main/scala/xyz/driver/core/rest/ServiceDiscovery.scala
parentb00892d723f6dedf50dc1c1fde7d443e9c3f9497 (diff)
downloaddriver-core-2c524be93052fc6d57359a00fd60d957099885c6.tar.gz
driver-core-2c524be93052fc6d57359a00fd60d957099885c6.tar.bz2
driver-core-2c524be93052fc6d57359a00fd60d957099885c6.zip
Refactor rest package into separate files
Diffstat (limited to 'src/main/scala/xyz/driver/core/rest/ServiceDiscovery.scala')
-rw-r--r--src/main/scala/xyz/driver/core/rest/ServiceDiscovery.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/scala/xyz/driver/core/rest/ServiceDiscovery.scala b/src/main/scala/xyz/driver/core/rest/ServiceDiscovery.scala
new file mode 100644
index 0000000..f0f3b5b
--- /dev/null
+++ b/src/main/scala/xyz/driver/core/rest/ServiceDiscovery.scala
@@ -0,0 +1,8 @@
+package xyz.driver.core.rest
+
+import xyz.driver.core.Name
+
+trait ServiceDiscovery {
+
+ def discover[T <: Service](serviceName: Name[Service]): T
+}