All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kreuzberg.miniserver.MiniServerConfig.scala Maven / Gradle / Ivy

The newest version!
package kreuzberg.miniserver
import kreuzberg.*
import kreuzberg.rpc.Dispatcher

/**
 * Configuration for MiniServer.
 * @tparam F
 *   Effect Type, can be Id.
 */
case class MiniServerConfig[F[_]](
    deployment: DeploymentConfig,
    host: String = "0.0.0.0",
    port: Int = 8090,
    api: Option[F[Dispatcher[F]]] = None,
    init: Option[() => F[String]] = None
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy