internal

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultProtocolVersion = 1

Variables

View Source
var (
	// this must be identical to handshake config in Quorum Client
	DefaultHandshakeConfig = plugin.HandshakeConfig{
		ProtocolVersion:  DefaultProtocolVersion,
		MagicCookieKey:   "QUORUM_PLUGIN_MAGIC_COOKIE",
		MagicCookieValue: "CB9F51969613126D93468868990F77A8470EB9177503C5A38D437FEFF7786E0941152E05C06A9A3313391059132A7F9CED86C0783FE63A8B38F01623C8257664",
	}
)

Functions

This section is empty.

Types

type SecurityPluginImpl

type SecurityPluginImpl struct {
	plugin.Plugin
	// contains filtered or unexported fields
}

implements all security interfaces and delegating calls to actual implementation

func (*SecurityPluginImpl) Authenticate

delegate call

func (*SecurityPluginImpl) GRPCClient

func (*SecurityPluginImpl) GRPCClient(context.Context, *plugin.GRPCBroker, *grpc.ClientConn) (interface{}, error)

func (*SecurityPluginImpl) GRPCServer

func (p *SecurityPluginImpl) GRPCServer(b *plugin.GRPCBroker, s *grpc.Server) error

func (*SecurityPluginImpl) Get

delegate call

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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