Getting Started
build.sbtに下記の依存関係を追加します。
"io.github.cactacea" %% "server" % "19.11.0"
Mavenによる表記:
<dependency>
<groupId>io.github.cactacea</groupId>
<artifactId>server_2.12</artifactId>
<version>19.11.0</version>
</dependency>
Example
CactaceaServerの継承するクラスを作成します。
import io.github.cactacea.backend.server.CactaceaServer
class DemoServer extends CactaceaServer
エントリーポイントとなるオブジェクトを作成します。
object DemoServerApp extends DemoServer
作成したオブジェクトを実行します。