codetemplate
Type members
Classlikes
A very basic cache of some resource V which an be created based on an input stream
A very basic cache of some resource V which an be created based on an input stream
- Value Params
- compiler
the compiler function - compile some expression into a value of type V
Provides a script-able means to produce some type B for any type A
Provides a script-able means to produce some type B for any type A
The context is passed to some black-box function which is intended to compute a result
The context is passed to some black-box function which is intended to compute a result
- Type Params
- A
the record (message) type
- Value Params
- env
a system environment
- fs
a handle to a file system like thing
- record
some message input
- Companion
- object
Like circe optics - pimped dynamic type on top of circe json
Like circe optics - pimped dynamic type on top of circe json
- Companion
- object
This may look familiar. A "generic" message type
This may look familiar. A "generic" message type
- Companion
- object
Functions for scripting string interpolation.
Functions for scripting string interpolation.
e.g turn some Context into a string, with use-cases like:
someJsonDoc = """ { "key" : "{{ record.key.toUpperCase }}", "foo" : "{{ if (record.content.path.to.foo) "x" else "y" }}", "double-host" : "{{ env.HOST * 2 }}" } """