Supporting Mizu view from given url (#312)

* Supporting Mizu view from given url
This commit is contained in:
Igor Gov
2021-10-05 12:24:50 +03:00
committed by GitHub
parent 90040798b8
commit 30fce5d765
3 changed files with 32 additions and 22 deletions

View File

@@ -2,8 +2,10 @@ package configStructs
const (
GuiPortViewName = "gui-port"
UrlViewName = "url"
)
type ViewConfig struct {
GuiPort uint16 `yaml:"gui-port" default:"8899"`
Url string `yaml:"url,omitempty" readonly:""`
}