api

package
v0.2202.4 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package api defines the key manager client API.

Index

Constants

View Source
const EnclaveRPCEndpoint = "key-manager"

EnclaveRPCEndpoint is the name of the key manager EnclaveRPC endpoint.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	// CallEnclave calls the key manager via remote EnclaveRPC.
	//
	// The provided peer feedback is optional feedback on the peer that handled the last EnclaveRPC
	// request (if any) which may be used to inform the routing decision.
	CallEnclave(ctx context.Context, data []byte, pf *enclaverpc.PeerFeedback) ([]byte, error)
}

Client is the key manager client interface.

Jump to

Keyboard shortcuts

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