mirror of
https://github.com/safing/portbase
synced 2025-09-02 02:29:59 +00:00
Mock config stuff to do
This commit is contained in:
parent
4802982734
commit
014f944b2a
4 changed files with 11 additions and 1 deletions
3
config/integration/api.go
Normal file
3
config/integration/api.go
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
package integration
|
||||||
|
|
||||||
|
// API
|
3
config/integration/module.go
Normal file
3
config/integration/module.go
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
package integration
|
||||||
|
|
||||||
|
// register as module
|
4
config/integration/persistence.go
Normal file
4
config/integration/persistence.go
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
package integration
|
||||||
|
|
||||||
|
// persist config file
|
||||||
|
// create callback function in config to get updates
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"sync"
|
"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 (
|
const (
|
||||||
OptTypeString uint8 = 1
|
OptTypeString uint8 = 1
|
||||||
OptTypeStringArray uint8 = 2
|
OptTypeStringArray uint8 = 2
|
||||||
|
|
Loading…
Add table
Reference in a new issue