Move web and ui configurations in their own packages

This commit is contained in:
TwinProduction committed 2021-09-22 00:47:51 -04:00
1 parent dda83761b5
commit df3a2016ff
14 files changed
+191 -128

No files matched your search

+2 -1
View File
@@ -8,12 +8,13 @@ import (
"testing"
"github.com/TwinProduction/gatus/config"
"github.com/TwinProduction/gatus/config/web"
"github.com/TwinProduction/gatus/core"
)
func TestHandle(t *testing.T) {
cfg := &config.Config{
Web: &config.WebConfig{
Web: &web.Config{
Address: "0.0.0.0",
Port: rand.Intn(65534),
},