From 014f944b2a5256ad2ab13dc740639b2e9782df53 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 11 Sep 2018 18:59:48 +0200 Subject: [PATCH] Mock config stuff to do --- config/integration/api.go | 3 +++ config/integration/module.go | 3 +++ config/integration/persistence.go | 4 ++++ config/registry.go | 2 +- 4 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 config/integration/api.go create mode 100644 config/integration/module.go create mode 100644 config/integration/persistence.go diff --git a/config/integration/api.go b/config/integration/api.go new file mode 100644 index 0000000..e6aa1b2 --- /dev/null +++ b/config/integration/api.go @@ -0,0 +1,3 @@ +package integration + +// API diff --git a/config/integration/module.go b/config/integration/module.go new file mode 100644 index 0000000..c9bba1b --- /dev/null +++ b/config/integration/module.go @@ -0,0 +1,3 @@ +package integration + +// register as module diff --git a/config/integration/persistence.go b/config/integration/persistence.go new file mode 100644 index 0000000..09cd938 --- /dev/null +++ b/config/integration/persistence.go @@ -0,0 +1,4 @@ +package integration + +// persist config file +// create callback function in config to get updates diff --git a/config/registry.go b/config/registry.go index b67c981..a998987 100644 --- a/config/registry.go +++ b/config/registry.go @@ -7,7 +7,7 @@ import ( "sync" ) -// Variable Type IDs for frontend Identification. Values over 100 are free for custom use. +// Variable Type IDs for frontend Identification. Values from 100 are free for custom use. const ( OptTypeString uint8 = 1 OptTypeStringArray uint8 = 2