basic server config setup, starting to setup echo routes
This commit is contained in:
		
							
								
								
									
										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