yggvault ratatoskr-space connected via regular web
Color theme
also available via yggdrasil mesh http://[203:b338:2a84:a18f:986:47ae:1a4:d8d3]/pkg/go-plugin/v0.3.0
vault / go-plugin / v0.3.0

go-plugin @ v0.3.0

integrity

size
3.0 MiB
downloaded
last checked
overlays
go
detected
go module github.com/knqyf263/go-plugin
source https://github.com/knqyf263/go-plugin · available · github

release notes

go-plugin supports TinyGo 0.26.0 and also adds the ability to close a plugin.

Thanks to @anxuanzi for noticing the problem with TinyGo 0.26.0 and @mathetake for fixing it. You do not need to do anything except upgrade and re-generate your source with protoc.

You should now defer closing a plugin after creating one. For example:

p, err := greeting.NewGreeterPlugin(ctx, greeting.GreeterPluginOption{})
if err != nil {...}
defer p.Close(ctx) // <-- here

Thanks to @codefromthecrypt and @mathetake for implementing Close.

download

unix · zip
curl -fL -o v0.3.0.zip https://ratatoskr.space/pkg/go-plugin/v0.3.0.zip
                    printf '%s  %s\n' '4353fa948108f9cb987bb3bc803b96901d49e56506824a6ebe4941d9781d1b9e' 'v0.3.0.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/go-plugin/v0.3.0.zip"
$out = "v0.3.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "4353fa948108f9cb987bb3bc803b96901d49e56506824a6ebe4941d9781d1b9e") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v0.3.0.tar.gz https://ratatoskr.space/pkg/go-plugin/v0.3.0.tar.gz
                    printf '%s  %s\n' 'ca70f4d8423fb0755ed477fb0b532766cb1e34526cc3e2d9e02536f925eb7284' 'v0.3.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/go-plugin/v0.3.0.tar.gz"
$out = "v0.3.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "ca70f4d8423fb0755ed477fb0b532766cb1e34526cc3e2d9e02536f925eb7284") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v0.3.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/go-plugin/v0.3.0.zip
                    printf '%s  %s\n' '4353fa948108f9cb987bb3bc803b96901d49e56506824a6ebe4941d9781d1b9e' 'v0.3.0.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/go-plugin/v0.3.0.zip"
$out = "v0.3.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "4353fa948108f9cb987bb3bc803b96901d49e56506824a6ebe4941d9781d1b9e") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v0.3.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/go-plugin/v0.3.0.tar.gz
                    printf '%s  %s\n' 'ca70f4d8423fb0755ed477fb0b532766cb1e34526cc3e2d9e02536f925eb7284' 'v0.3.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/go-plugin/v0.3.0.tar.gz"
$out = "v0.3.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "ca70f4d8423fb0755ed477fb0b532766cb1e34526cc3e2d9e02536f925eb7284") { throw "sha256 mismatch" }
artifact format size hashes
v0.3.0.zip zip 3.0 MiB
blake3-24 2f00ac6f78c51a594c2e8ff700e4c2acd143603009af714f
sha256 4353fa948108f9cb987bb3bc803b96901d49e56506824a6ebe4941d9781d1b9e
sha1 0299c50d57e165424586f6580dc77f85e9abfd5d
v0.3.0.tar.gz tar.gz 2.9 MiB
blake3-24 665bd2edbba60bc4ea9bfac86fa0738cb5eaa7f47287169b
sha256 ca70f4d8423fb0755ed477fb0b532766cb1e34526cc3e2d9e02536f925eb7284
sha1 ca4aaa0e0e8596f5feff75efef206517e386c2f9

go module archive

module zip with the module path rewritten to this mirror; fetched by go get through the GOPROXY route

artifact format size hashes
v0.3.0.zip zip 3.0 MiB
blake3-24 a63f39e4025bfc8b0bd9f1ba1e42c5cd9046c589a6c936db
sha256 81e8f3623e3a9b274376dcba0332216cf90f7c9a6f7ae89b5493ef28cec55172
sha1 7f7c83464455f3d7f494af4472c6e70b4bbeefe9

install

bazel
http_archive(
    name = "go-plugin",
    urls = ["https://ratatoskr.space/pkg/go-plugin/v0.3.0.tar.gz"],
    integrity = "sha256-ynD02EI/sHVe1Hf7C1MnZsseNFJsw+LZ4CU2+SXrcoQ=",
    strip_prefix = "go-plugin-v0.3.0",
)
zig
.url = "https://ratatoskr.space/pkg/go-plugin/v0.3.0.tar.gz",
go
GOPROXY=https://ratatoskr.space GOSUMDB=off go get ratatoskr.space/pkg/go-plugin@v0.3.0
install via yggdrasil mesh
bazel
http_archive(
    name = "go-plugin",
    urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/go-plugin/v0.3.0.tar.gz"],
    integrity = "sha256-ynD02EI/sHVe1Hf7C1MnZsseNFJsw+LZ4CU2+SXrcoQ=",
    strip_prefix = "go-plugin-v0.3.0",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/go-plugin/v0.3.0.tar.gz",
go
GOPROXY=http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg GOSUMDB=off GOINSECURE=14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/* go get 14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/go-plugin@v0.3.0
← v0.4.0v0.2.0 →