shared

package
v0.0.0-...-17f76c2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2023 License: MIT Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL