protocol.go 467 B

123456789101112131415161718192021
  1. package plugin
  2. import (
  3. "errors"
  4. "github.com/hashicorp/go-plugin"
  5. )
  6. const (
  7. DefaultProtocolVersion = 1
  8. )
  9. var (
  10. DefaultHandshakeConfig = plugin.HandshakeConfig{
  11. ProtocolVersion: DefaultProtocolVersion,
  12. MagicCookieKey: "QUORUM_PLUGIN_MAGIC_COOKIE",
  13. MagicCookieValue: "CB9F51969613126D93468868990F77A8470EB9177503C5A38D437FEFF7786E0941152E05C06A9A3313391059132A7F9CED86C0783FE63A8B38F01623C8257664",
  14. }
  15. ErrNotSupported = errors.New("not supported")
  16. )