Documentation
¶
Index ¶
Constants ¶
View Source
const ModeDemo = "demo"
View Source
const ModeDev = "dev"
View Source
const ModeLocal = "local"
View Source
const ModeProd = "prod"
View Source
const ModeTest = "test"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Mode string Name string TestThread uint16 Secret string Flags *Flags Scripts []string DevPanel *DevPanel GlobalContext context.Context CancelContext context.CancelFunc }
func (*App) IsInDemoMode ¶
func (*App) IsInDevMode ¶ added in v0.8.51
func (*App) IsInLocalMode ¶
func (*App) IsInProdMode ¶
func (*App) IsInTestMode ¶
type DevPanel ¶
type DevPanel struct { UserEntity DevPanelUserEntity Router func(ginEngine *gin.Engine) PoolStream *string PoolSearch *string }
type DevPanelUserEntity ¶
type Flags ¶
type Flags struct {
Registry *FlagsRegistry
}
type FlagsRegistry ¶
type FlagsRegistry struct {
Flags map[string]interface{}
}
Click to show internal directories.
Click to hide internal directories.