fix: unittest

This commit is contained in:
debugtalk
2022-02-25 23:04:34 +08:00
parent bcc90c8403
commit 60af7dd4ce
13 changed files with 4 additions and 4 deletions

15
plugin/inner/config.go Normal file
View File

@@ -0,0 +1,15 @@
package pluginInternal
import "github.com/hashicorp/go-plugin"
const PluginName = "debugtalk"
// handshakeConfigs are used to just do a basic handshake between
// a plugin and host. If the handshake fails, a user friendly error is shown.
// This prevents users from executing bad plugins or executing a plugin
// directory. It is a UX feature, not a security feature.
var HandshakeConfig = plugin.HandshakeConfig{
ProtocolVersion: 1,
MagicCookieKey: "HttpRunnerPlus",
MagicCookieValue: PluginName,
}