basic server config setup, starting to setup echo routes

This commit is contained in:
2020-06-06 17:24:23 -04:00
parent 4104193be3
commit 23dd5090e3
7 changed files with 102 additions and 31 deletions

View File

@@ -0,0 +1,12 @@
package engine
import (
config "github.com/deranjer/gvc/server/serverconfig"
"github.com/labstack/echo"
)
// GVCServer contains all the information needed for our server so we can pass it around as needed
type GVCServer struct {
Config config.GvcServerConfig //contains our full server config
Echo *echo.Echo // Contains our web server instance
}