Documentation ¶
Index ¶
- Constants
- type App
- func (app *App) Add(delta int)
- func (app *App) Done()
- func (app *App) InitWaitGroup()
- func (app *App) IsInDemoMode() bool
- func (app *App) IsInDevMode() bool
- func (app *App) IsInLocalMode() bool
- func (app *App) IsInMode(mode string) bool
- func (app *App) IsInProdMode() bool
- func (app *App) IsInQAMode() bool
- func (app *App) IsInTestMode() bool
- func (app *App) Wait()
- type DevPanel
- type Flags
- type FlagsRegistry
- type IDevPanelUserEntity
- type IExit
- type IScript
- type Infinity
- type Intermediate
- type Interval
- type IntervalOptional
- type Optional
- type RedisPools
Constants ¶
View Source
const ModeDemo = "demo"
View Source
const ModeDev = "dev"
View Source
const ModeLocal = "local"
View Source
const ModeProd = "prod"
View Source
const ModeQA = "qa"
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 // contains filtered or unexported fields }
func (*App) InitWaitGroup ¶ added in v1.1.53
func (app *App) InitWaitGroup()
func (*App) IsInDemoMode ¶
func (*App) IsInDevMode ¶ added in v0.8.51
func (*App) IsInLocalMode ¶
func (*App) IsInProdMode ¶
func (*App) IsInQAMode ¶ added in v1.2.25
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.