basic server config setup, starting to setup echo routes
This commit is contained in:
7
server/engine/engine.go
Normal file
7
server/engine/engine.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package engine
|
||||
|
||||
import "github.com/labstack/echo"
|
||||
|
||||
func (server *GVCServer) Info(context echo.Context) {
|
||||
|
||||
}
|
12
server/engine/structures.go
Normal file
12
server/engine/structures.go
Normal 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
|
||||
}
|
Reference in New Issue
Block a user