container

package
v0.24.7 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnclaveContainer

type EnclaveContainer struct {
	Enclave   common.Enclave
	RPCServer *enclave.RPCServer
	Logger    gethlog.Logger
}

func NewEnclaveContainerFromConfig

func NewEnclaveContainerFromConfig(config *config.EnclaveConfig) *EnclaveContainer

NewEnclaveContainerFromConfig wires up the components of the Enclave and its RPC server. Manages their lifecycle/monitors their status

func NewEnclaveContainerWithLogger

func NewEnclaveContainerWithLogger(config *config.EnclaveConfig, logger gethlog.Logger) *EnclaveContainer

NewEnclaveContainerWithLogger is useful for testing etc.

func (*EnclaveContainer) Start

func (e *EnclaveContainer) Start() error

func (*EnclaveContainer) Stop

func (e *EnclaveContainer) Stop() error

Jump to

Keyboard shortcuts

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