Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: return *Plugin from NewPlugin to keep a consistent pointer #6

Merged
merged 1 commit into from
Aug 1, 2023

Conversation

zshipko
Copy link
Contributor

@zshipko zshipko commented Jul 31, 2023

No description provided.

Copy link
Collaborator

@mhmd-azeez mhmd-azeez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you very much!

@mhmd-azeez mhmd-azeez merged commit 30e36a4 into feat/go-sdk Aug 1, 2023
@mhmd-azeez mhmd-azeez deleted the plugin-pointer branch August 1, 2023 07:47
mhmd-azeez added a commit that referenced this pull request Aug 3, 2023
* copied the source code from extism-wasm-runtime and added a couple of examples

* feat: add support for manifests

* feat: select a main module for each module and implement ToWasmData() for WasmUrl and WasmFile

* feat: allow additional functions to be defined in env module

* cleanup: config_get

* cleanup: add wrap function to reduce boilerplate for kernel functions

* implement var_get and var_set

* feat: implement extism_var_set, extism_http_request, and extism_http_status_code

* fix: add glob package to go.mod file

* fix: AllowedPaths are file paths, not http paths

* fix: limit response body size

* compile config.wasm

* update config.wasm

* feat: implement an initial version of host functions

* add todo for host function userdata

* feat: implement logging support

* feat: implement AllowedPaths

* feat: Enable adding custom host functions in the `env` module (#4)

* feat: allow defining host functions in the `env` package

* feat: implement AllowedPaths

* Revert "feat: implement AllowedPaths"

This reverts commit ec639f0.

* feat: implement runtime initialization logic

* add a plugin for testing timeout and cleanup up some stuff

* cleaned up some logs

* fix: deny all requests by default

* feat: turn examples into automated tests

* fix: pass ctx when creating an http request

* fix: change fs example to use do everything in main function

* feat: check for Reactor modules

* refactor runtime

* fix: add proper support for Reactors

* fix: fix a couple of bugs regarding exit codes and logging

* fix: return *Plugin from NewPlugin to keep a consistent pointer to the Plugin (#6)

* fix: remove *Plugin parameter from log methods and make sure haskell runtime is initialized and cleaned up

* feat: add doc comments and slightly adjust the APIs

* test: add test cases for WasmUrl and Hashing

* test: bring over some test cases from the current go SDK

* ci: add a workflow for CI

* feat: expose memory functions on CurrentPlugin

* docs: write a better README

* ci: run tests on ubuntu, macos, and windows

---------

Co-authored-by: zach <[email protected]>
Co-authored-by: zach <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants