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 ParallelTestID string Secret string Flags *Flags Scripts []string DevPanel *DevPanel RedisPools *RedisPools GlobalContext context.Context CancelContext context.CancelFunc WaitGroup *sync.WaitGroup }
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 IDevPanelUserEntity Router func(ginEngine *gin.Engine) }
type Flags ¶
type Flags struct {
Registry *FlagsRegistry
}
type FlagsRegistry ¶
type FlagsRegistry struct {
Flags map[string]interface{}
}
type IDevPanelUserEntity ¶ added in v0.8.78
type Intermediate ¶ added in v0.9.49
type Intermediate interface {
IsIntermediate() bool
}
type IntervalOptional ¶ added in v0.9.49
type IntervalOptional interface {
IntervalActive() bool
}
Click to show internal directories.
Click to hide internal directories.