# Functions
CreateHostPlugin takes in a type, parses the various options to look for a plugin matching that name, and returns a host plugin client, a cleanup function to execute on shutdown of the enclosing program, and an error.
CreateStoragePlugin takes in a type, parses the various options to look for a plugin matching that name, and returns a storage plugin client, a cleanup function to execute on shutdown of the enclosing program, and an error.
No description provided by the author
No description provided by the author
No description provided by the author
ServeHostPlugin is a generic function to start serving a host plugin service as a plugin.
WithLogger allows passing a logger to the plugin library for debugging.
WithPluginOptions allows providing plugin-related (as opposed to configutil-related) options.
# Variables
HandshakeConfig is a shared config that can be used regardless of plugin, to avoid having to know type-specific things about each plugin.
# Type aliases
Option - a type that wraps an interface for compile-time safety but can contain an option for this package or for wrappers implementing this interface.