guinep
package guinep
Members list
Type members
Classlikes
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 Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object GuinepWebConfig
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
GuinepWebConfig.type
Value members
Concrete methods
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)
In this article