~singpolyma/sgx-endstream

9877d1616646d574d0f44d9fb5419dbc561872bc — Stephen Paul Weber 3 months ago 831894e master
Add example config
3 files changed, 15 insertions(+), 0 deletions(-)

A Makefile
A config-schema.dhall
A config.dhall.sample
A Makefile => Makefile +2 -0
@@ 0,0 1,2 @@
config-schema.dhall: config.dhall.sample
	dhall type < config.dhall.sample > config-schema.dhall

A config-schema.dhall => config-schema.dhall +3 -0
@@ 0,0 1,3 @@
{ component : { jid : Text, secret : Text }
, server : { host : Text, port : Natural }
}

A config.dhall.sample => config.dhall.sample +10 -0
@@ 0,0 1,10 @@
{
	component = {
		jid = "component.localhost",
		secret = "secret"
	},
	server = {
		host = "localhost",
		port = 5347
	}
}