Documentation ¶
Index ¶
- func Goroutine(fn func())
- func GoroutineWithRestart(fn func())
- func InitGin(server graphql.ExecutableSchema, ginInitHandler GinInitHandler, ...) *gin.Engine
- func Validate(ctx context.Context, callback func() bool) bool
- func ValidateDirective() ...
- type BackgroundProcessor
- type Exit
- type GQLServerInitHandler
- type GinInitHandler
- type Hitrix
- type Registry
- func (r *Registry) Build() (*Hitrix, func())
- func (r *Registry) RegisterDIGlobalService(service ...*service.DefinitionGlobal) *Registry
- func (r *Registry) RegisterDIRequestService(service ...*service.DefinitionRequest) *Registry
- func (r *Registry) RegisterDevPanel(devPanelUserEntity app.IDevPanelUserEntity, router func(ginEngine *gin.Engine), ...) *Registry
- func (r *Registry) SetParallelTestID(parallelTestID string) *Registry
- type Script
- type ScriptInfinity
- type ScriptIntermediate
- type ScriptInterval
- type ScriptIntervalOptional
- type ScriptOptional
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoroutineWithRestart ¶ added in v0.8.77
func GoroutineWithRestart(fn func())
func InitGin ¶
func InitGin(server graphql.ExecutableSchema, ginInitHandler GinInitHandler, gqlServerInitHandler GQLServerInitHandler) *gin.Engine
Types ¶
type BackgroundProcessor ¶ added in v0.8.5
type BackgroundProcessor struct {
Server *Hitrix
}
func (*BackgroundProcessor) RunAsyncOrmConsumer ¶ added in v0.8.5
func (processor *BackgroundProcessor) RunAsyncOrmConsumer()
func (*BackgroundProcessor) RunScript ¶ added in v0.8.5
func (processor *BackgroundProcessor) RunScript(script Script)
type GQLServerInitHandler ¶ added in v0.3.1
type GinInitHandler ¶
type Hitrix ¶
type Hitrix struct {
// contains filtered or unexported fields
}
func (*Hitrix) RunBackgroundProcess ¶ added in v0.8.5
func (h *Hitrix) RunBackgroundProcess(callback func(b *BackgroundProcessor))
func (*Hitrix) RunServer ¶
func (h *Hitrix) RunServer(defaultPort uint, server graphql.ExecutableSchema, ginInitHandler GinInitHandler, gqlServerInitHandler GQLServerInitHandler)
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func (*Registry) RegisterDIGlobalService ¶ added in v0.8.35
func (r *Registry) RegisterDIGlobalService(service ...*service.DefinitionGlobal) *Registry
func (*Registry) RegisterDIRequestService ¶ added in v0.8.35
func (r *Registry) RegisterDIRequestService(service ...*service.DefinitionRequest) *Registry
func (*Registry) RegisterDevPanel ¶
func (*Registry) SetParallelTestID ¶ added in v0.8.82
type ScriptInfinity ¶ added in v0.3.0
type ScriptInfinity interface {
Infinity() bool
}
type ScriptIntermediate ¶
type ScriptIntermediate interface {
IsIntermediate() bool
}
type ScriptInterval ¶
type ScriptIntervalOptional ¶
type ScriptIntervalOptional interface {
IntervalActive() bool
}
type ScriptOptional ¶
type ScriptOptional interface {
Active() bool
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.