Skip to content

Latest commit

 

History

History

helloworld

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

helloworld sample

This sample shows how to build an enclave application with EGo.

The sample can be built as follows:

ego-go build
ego sign helloworld

To run it inside the enclave:

ego run helloworld

To run it in simulation mode:

OE_SIMULATION=1 ego run helloworld

You should see an output similar to:

[erthost] loading enclave ...
[erthost] entering enclave ...
[ego] starting application ...
hello
world
world
hello
hello
world
world
hello
hello
world