Releases: bots-garden/slingshot
Releases Β· bots-garden/slingshot
v0.0.6 π [whale]
Update with the last release of the Extism Go SDK: https://github.com/extism/go-sdk/releases/tag/v1.0.0-rc1
v0.0.5 π³ [spouting whale]
Multi-arch π³ Docker image
HTTP_PORT=8080
docker run \
-p ${HTTP_PORT}:${HTTP_PORT} \
-v $(pwd)/hello-service:/app --rm botsgarden/slingshot:0.0.5 \
/slingshot start \
--wasm=./app/hello.wasm \
--handler=callHandler \
--http-port=${HTTP_PORT}
Host functions changes:
hostPrint
(new)hostPrintln
(formerhostPrint
)
New host function:
hostInput
v0.0.4 π [ladybug]
New host functions
hostReadFile
hostWriteFile
New flags
Download the wasm plugin before run it:
--wasm-url="http://0.0.0.0:9000/print.wasm"
Use these flags if you need to use a token to authenticate the download:
--auth-header-name
--auth-header-value
These flags allow to use the pdk Extism API:
--log-level
:pdk.Log(pdk.LogInfo, "πππ")
--allow-hosts
:pdk.NewHTTPRequest("GET", "https://jsonplaceholder.typicode.com/todos/1")
--config
:pdk.GetConfig("firstName")
v0.0.3 π¦ [butterfly]
Slingshot Go PDK: Creation of a GO PDK (plug-in development kit) to simplify the development of the WASM plugins
ππ
v0.0.2 π» [bear face]
v0.0.2 π» [bear face]
- NATS subscriber (host application)
- NATS publisher (host function)
v0.0.1 π»ββοΈ [polar bear]
v0.0.1 π»ββοΈ [polar bear]
- Redis subscriber
- Resis publish host function
v0.0.0 πΌ [panda]
v0.0.0 πΌ [panda]