Documentation
¶
Index ¶
Constants ¶
View Source
const ( // 0,1,2 used for stdin,stdout,stderr HClientRFd = iota + 3 HClientWFd PClientRFd PClientWFd MaxFd )
Variables ¶
This section is empty.
Functions ¶
func Main ¶ added in v1.0.6
func Main(useInterop bool)
Main executes the client program in a detached context and exits the current process. The client runtime environment must be preset before calling this function.
func RunPreInteropProgram ¶ added in v1.11.0
func RunPreInteropProgram( logger log.Logger, bootInfo *boot.BootInfo, l1PreimageOracle *l1.CachingOracle, l2PreimageOracle *l2.CachingOracle, db l2.KeyValueStore, opts tasks.DerivationOptions, ) error
func RunProgram ¶ added in v1.0.6
func RunProgram(logger log.Logger, preimageOracle io.ReadWriter, preimageHinter io.ReadWriter, cfg Config) error
RunProgram executes the Program, while attached to an IO based pre-image oracle, to be served by a host.
Types ¶
Click to show internal directories.
Click to hide internal directories.