package
0.27.2
Repository: https://github.com/stashapp/stash.git
Documentation: pkg.go.dev

# Packages

Package log provides a number of logging utility functions for encoding and decoding log messages between a stash server and a plugin instance.

# Functions

ServePlugin is used by plugin instances to serve the plugin via RPC, using the provided RPCRunner interface.

# Constants

# Structs

HookContext is passed as a PluginArgValue and indicates what hook triggered this plugin task.
PluginInput is the data structure that is sent to plugin instances when they are spawned.
PluginOutput is the data structure that is expected to be output by plugin processes when execution has concluded.
StashServerConnection represents the connection details needed for a plugin instance to connect to its parent stash server.

# Interfaces

PluginArgValue represents a single value parameter for plugin operations.
RPCRunner is the interface that RPC plugins are expected to fulfil.

# Type aliases

ArgsMap is a map of argument key to value.