server

package
v0.0.0-...-4ef8731 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

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()
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL