mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-11 18:11:21 +08:00
16 lines
509 B
Go
16 lines
509 B
Go
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,
|
|
}
|