guinep

package guinep

Members list

Type members

Classlikes

case class GuinepWebConfig(requireNonNullableInputs: Boolean, httpServerConfig: Config)

Configuration for the GUInep web interface.

Configuration for the GUInep web interface.

Value parameters

requireNonNullableInputs

when set, all non-nullable types will correspond to required inputs in the frontend

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def web: GuinepWeb

Creates and instance of GUInep web interface with the given configuration.

Creates and instance of GUInep web interface with the given configuration.

To start the web server, call the apply method with the functions to be exposed.

To change the configuration, call the withSetConfig or withModifyConfig methods.

Value parameters

config

the configuration for the web interface

Attributes

Example
def add(a: Int, b: Int) = a + b
def greet(name: String) = s"Hello, $name!"
@main def run = guinep.web(add, greet)