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

Load .so plugins at runtime to extend EchoVault #34

Merged
merged 10 commits into from
May 3, 2024

Conversation

kelvinmwinuka
Copy link
Collaborator

This change adds the ability to load modules to extend EchoVault

Moved types associated with embedded commands extension into api_admin.go file and deleted types.go file as it's no longer necessary.
Updated docker-compose and Dockerfile.dev to pass .so modules to load on startup.
Volumes folder is no longer ignores except for the nodes subfolder.
Implemented UnloadModules methods for removing module from EchoVault.
Removed connection from plugin handler function parameters as it should not be modified by the module.
…respectively because they both deal with one module at a time.
Implemented UnloadModules method to remove modules at runtime.
Implemented ListModules method to list the current loaded modules.
Implemented "MODULE LOAD", "MODULE UNLOAD", and "MODULE LIST" commands.
@kelvinmwinuka kelvinmwinuka self-assigned this May 3, 2024
@kelvinmwinuka kelvinmwinuka linked an issue May 3, 2024 that may be closed by this pull request
@kelvinmwinuka kelvinmwinuka merged commit fd500d7 into main May 3, 2024
1 check passed
@kelvinmwinuka kelvinmwinuka deleted the feature/shared-object-extension branch June 15, 2024 13:49
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.

Allow shared object (.so) plugins to be loaded into commands list
1 participant