Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HandshakeConfig = plugin.HandshakeConfig{
ProtocolVersion: 2,
MagicCookieKey: "BASIC_PLUGIN",
MagicCookieValue: "hello",
}
HandshakeConfig - engine-interface handshake configuration
Functions ¶
This section is empty.
Types ¶
type DecryptorInterface ¶
type DecryptorInterface interface {
Decrypt(req *model.DecryptRequest) (*model.DecryptResponse, error)
}
DecryptorInterface - this is the interface that we're exposing as a plugin.
type EncryptorInterface ¶
type EncryptorInterface interface {
Encrypt(req *model.EncryptRequest) (*model.EncryptResponse, error)
}
EncryptorInterface - this is the interface that we're exposing as a plugin.
Click to show internal directories.
Click to hide internal directories.