kernel

package
v0.2.1-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Container represent the global Go-Web service container
	Container *dig.Container
	// Controllers will handle all Go-Web controller
	Controllers = []interface{}{
		&controller.UserController{},
		&controller.AuthController{},
		&controller.HomeController{},
	}
	// Models will handle all application models
	Models = []interface{}{
		model.User{},
		model.FailedJob{},
	}
	// Services will handle all app services
	Services = []interface{}{
		service.ConnectDB,
		service.ConnectElastic,
		service.ConnectMongo,
		service.ConnectRedis,
	}
	// Configuration represent all Go-Web application conf
	Configuration *gwf.Conf
)

Functions

func StartKernel

func StartKernel() *gwf.HttpKernel

StartKernel will create the HTTP kernel

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL