package
0.0.0-20240731152050-6dcdff4c9dd7
Repository: https://github.com/omniviewdev/plugin-sdk.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
DeexpandTilde takes a path and if it is in the home directory, it will replace it with a ~.
ExpandTilde takes a path and if it starts with a ~, it will replace it with the home directory.
GetPluginStorePath returns the path to the plugin store for the given plugin.
getStore returns a file handle to the store for the given plugin and capability.
initializeStore creates the store directory for the given plugin and capability.
No description provided by the author
RegisterServerOpts returns a list of gRPC server options with the necessary interceptors for the plugin SDK.
removeStore removes the store for the given plugin and capability.
ServerPluginContextInterceptor is a gRPC server interceptor that extracts the plugin context from the metadata and attaches it to the context.
UseServerPluginContext extracts the plugin context from the gRPC metadata and attaches it to the context.

# Constants

No description provided by the author

# Variables

ErrNoPluginContextError is returned when the plugin context is not found in the metadata.