Documentation ¶
Index ¶
Constants ¶
View Source
const ModeDemo = "demo"
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 Secret string Flags *Flags Scripts []string DevPanel *DevPanel Ctx context.Context }
func (*App) IsInDemoMode ¶
func (*App) IsInLocalMode ¶
func (*App) IsInProdMode ¶
func (*App) IsInTestMode ¶
type DevPanel ¶
type DevPanel struct { UserEntity DevPanelUserEntity Router func(ginEngine *gin.Engine) PoolStream *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.