Documentation
¶
Index ¶
- type EnclaveServer
- func (es *EnclaveServer) GetNotebook(ctx context.Context, notebookId *enclaveProto.NotebookId) (*enclaveProto.GetNotebookResponse, error)
- func (es *EnclaveServer) PingPong(ctx context.Context, pingRequest *enclaveProto.Ping) (*enclaveProto.Ping, error)
- func (es *EnclaveServer) PutNotebook(ctx context.Context, enb *enclaveProto.EncryptedNotebook) (*enclaveProto.PutNotebookResponse, error)
- func (es *EnclaveServer) Start()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnclaveServer ¶
type EnclaveServer struct { CertFilePath string KeyFilePath string ListenAddress string ListenPort int enclaveProto.UnimplementedEnclaveServiceServer }
func (*EnclaveServer) GetNotebook ¶
func (es *EnclaveServer) GetNotebook(ctx context.Context, notebookId *enclaveProto.NotebookId) (*enclaveProto.GetNotebookResponse, error)
func (*EnclaveServer) PingPong ¶
func (es *EnclaveServer) PingPong(ctx context.Context, pingRequest *enclaveProto.Ping) (*enclaveProto.Ping, error)
func (*EnclaveServer) PutNotebook ¶
func (es *EnclaveServer) PutNotebook(ctx context.Context, enb *enclaveProto.EncryptedNotebook) (*enclaveProto.PutNotebookResponse, error)
func (*EnclaveServer) Start ¶
func (es *EnclaveServer) Start()
Click to show internal directories.
Click to hide internal directories.