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.
Click to show internal directories.
Click to hide internal directories.