Versions in this module Expand all Collapse all v0 v0.0.3 Dec 19, 2021 v0.0.2 Dec 19, 2021 Changes in this version + var CreatedDatabaseForTests bool + func ClearApp() + func ClearTestApp() + func RunTests(t *testing.T, currentsuite suite.TestingSuite) + func StoreCurrentApp(app *App) + func TestHTTPResponse(t *testing.T, app *App, req *http.Request, ...) + type AddLanguageHandler struct + func (command AddLanguageHandler) GetHelpText() string + func (command AddLanguageHandler) Proceed(subaction string, args []string) error + type AddLanguageHandlerOptions struct + Code string + type AdminCommand struct + func (c AdminCommand) GetHelpText() string + func (c AdminCommand) Proceed(subaction string, args []string) error + type AdminStartServerOptions struct + type App struct + BlueprintRegistry core.IBlueprintRegistry + CommandRegistry *core.CommandRegistry + Config *core.Config + DashboardAdminPanel *core.DashboardAdminPanel + Database *core.Database + Router *gin.Engine + RouterInitialized bool + func NewApp(environment string, dontInitialize ...bool) *App + func NewFullAppForTests() *App + func (a *App) BaseAPIUrl() string + func (a *App) ExecuteCommand() + func (a *App) GetAuthAdapterRegistry() *core.AuthProviderRegistry + func (a *App) GetBlueprintRegistry() core.IBlueprintRegistry + func (a *App) GetCommandRegistry() *core.CommandRegistry + func (a *App) GetConfig() *core.Config + func (a *App) GetDashboardAdminPanel() *core.DashboardAdminPanel + func (a *App) GetDatabase() *core.Database + func (a *App) GetRouter() *gin.Engine + func (a *App) Initialize() + func (a *App) InitializeRouter() + func (a *App) RegisterBaseBlueprints() + func (a *App) RegisterBaseCommands() + func (a *App) RegisterBlueprint(blueprint core.IBlueprint) + func (a *App) RegisterCommand(name string, command core.ICommand) + func (a *App) StartAPI() + func (a *App) StartAdmin() + func (a *App) TriggerCommandExecution(action string, subaction string, params []string) + type BlueprintCommand struct + func (c BlueprintCommand) GetHelpText() string + func (c BlueprintCommand) Proceed(subaction string, args []string) error + type ContentTypeCommand struct + func (c ContentTypeCommand) GetHelpText() string + func (c ContentTypeCommand) Proceed(subaction string, args []string) error + type CreateBlueprint struct + func (command CreateBlueprint) GetHelpText() string + func (command CreateBlueprint) Proceed(subaction string, args []string) error + type CreateBlueprintOptions struct + Message string + Name string + type CreateFakedDataCommand struct + func (c CreateFakedDataCommand) GetHelpText() string + func (c CreateFakedDataCommand) Proceed(subaction string, args []string) error + type CreateMigration struct + func (command CreateMigration) GetHelpText() string + func (command CreateMigration) Proceed(subaction string, args []string) error + type CreateMigrationOptions struct + Blueprint string + MergeMode bool + Message string + type CreateSuperadmin struct + func (command CreateSuperadmin) GetHelpText() string + func (command CreateSuperadmin) Proceed(subaction string, args []string) error + type DbShellCommand struct + func (c DbShellCommand) GetHelpText() string + func (c DbShellCommand) Proceed(subaction string, args []string) error + type DetermineConflictsMigration struct + func (command DetermineConflictsMigration) GetHelpText() string + func (command DetermineConflictsMigration) Proceed(subaction string, args []string) error + type DownMigration struct + func (command DownMigration) GetHelpText() string + func (command DownMigration) Proceed(subaction string, args []string) error + type DownMigrationOptions struct + ToMigrationID int64 + type GeneralError struct + Error string + type LanguageCommand struct + func (c LanguageCommand) GetHelpText() string + func (c LanguageCommand) Proceed(subaction string, args []string) error + type MicroserviceExample struct + type MicroserviceExampleCommand struct + func (c MicroserviceExampleCommand) GetHelpText() string + func (c MicroserviceExampleCommand) Proceed(subaction string, args []string) error + type MicroserviceExampleStartCommand struct + func (command MicroserviceExampleStartCommand) GetHelpText() string + func (command MicroserviceExampleStartCommand) Proceed(subaction string, args []string) error + type MicroserviceExampleStartOptions struct + StartSwagger bool + type MigrateCommand struct + func (c MigrateCommand) GetHelpText() string + func (c MigrateCommand) Proceed(subaction string, args []string) error + type Migration struct + AppliedAt time.Time + MigrationName string + type OpenAPICommand struct + func (c OpenAPICommand) GetHelpText() string + func (c OpenAPICommand) Proceed(subaction string, args []string) error + type ServeAdminServer struct + func (command ServeAdminServer) GetHelpText() string + func (command ServeAdminServer) Proceed(subaction string, args []string) error + type ServeOpenAPIEditorCommand struct + func (command ServeOpenAPIEditorCommand) GetHelpText() string + func (command ServeOpenAPIEditorCommand) Proceed(subaction string, args []string) error + type ServeSwaggerServer struct + func (command ServeSwaggerServer) GetHelpText() string + func (command ServeSwaggerServer) Proceed(subaction string, args []string) error + type ServeSwaggerServerOptions struct + type ShellCommand struct + func (c ShellCommand) GetHelpText() string + func (c ShellCommand) Proceed(subaction string, args []string) error + type SuperadminCommand struct + func (c SuperadminCommand) GetHelpText() string + func (c SuperadminCommand) Proceed(subaction string, args []string) error + type SuperadminCommandOptions struct + Email string + FirstName string + LastName string + Username string + type SwaggerCommand struct + func (c SwaggerCommand) GetHelpText() string + func (c SwaggerCommand) Proceed(subaction string, args []string) error + type SyncContentTypes struct + func (command SyncContentTypes) GetHelpText() string + func (command SyncContentTypes) Proceed(subaction string, args []string) error + type TestSuite struct + App *App + Database *core.ProjectDatabase + func (suite *TestSuite) SetupTest() + func (suite *TestSuite) StoreDatabase(database *core.ProjectDatabase) + func (suite *TestSuite) TearDownSuite() + type UpMigration struct + func (command UpMigration) GetHelpText() string + func (command UpMigration) Proceed(subaction string, args []string) error + type UpMigrationOptions struct + type ValidationError struct + Code string + Message string + Params []string