Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupRouter ¶
func SetupRouter(context *StartupContext, acceptedOrigins []string) *gin.Engine
func StartHttpServer ¶
func StartHttpServer(wg *sync.WaitGroup, context *StartupContext)
Types ¶
type StartupContext ¶
type StartupContext struct { RunbookDetailsFinder handlers.RunbookDetailsFinder SessionStore handlers.SessionStore RunbookStepDetailsFinder handlers.RunbookStepDetailsFinder ErrorManager handlers.ErrorManager RuleSaver handlers.RuleSaver RuleFinder handlers.RuleFinder RuleMatcher runbooks.RuleMatcher RunbookStepDetailsWriter handlers.RunbookStepWriter RunbookDetailsWriter handlers.RunbookDetailsWriter ReverseRunbookFinder handlers.ReverseRunbookFinder RuleReloader func() }
Click to show internal directories.
Click to hide internal directories.