Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RegisteredModels = []interface{}{ &models.Upload{}, &models.User{}, &financemodels.Payment{}, &financemodels.ExpenseCategory{}, &financemodels.Expense{}, &warehousemodels.WarehouseUnit{}, &warehousemodels.WarehouseOrder{}, &models.Session{}, &models.Role{}, &models.Dialogue{}, &models.ActionLog{}, &models.Currency{}, &financemodels.Transaction{}, &warehousemodels.WarehouseProduct{}, &financemodels.MoneyAccount{}, }
Functions ¶
func ConstructApp ¶
func ConstructApp(db *gorm.DB) application.Application
Types ¶
type DefaultOptions ¶
type DefaultOptions struct { Configuration *configuration.Configuration LoadedModules []application.Module Application application.Application Db *gorm.DB }
type HttpServer ¶
type HttpServer struct { Controllers []application.Controller Middlewares []mux.MiddlewareFunc }
func Default ¶
func Default(options *DefaultOptions) (*HttpServer, error)
func (*HttpServer) Start ¶
func (s *HttpServer) Start(socketAddress string) error
Click to show internal directories.
Click to hide internal directories.