api

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 22 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectToRunner added in v0.9.4

func ConnectToRunner(killChannel chan bool, debug bool) (runner.Runner, error)

func RunInBackground

func RunInBackground(apiPort string, specDirs []string)

RunInBackground runs Gauge in daemonized mode on the given apiPort

func Start added in v0.5.0

func Start(specsDir []string) *conn.GaugeConnectionHandler

Types

type StartChannels added in v1.0.7

type StartChannels struct {
	// this will hold the runner
	RunnerChan chan runner.Runner
	// this will hold the error while creating runner
	ErrorChan chan error
	// this holds a flag based on which the runner is terminated
	KillChan chan bool
}

func StartAPI

func StartAPI(debug bool) *StartChannels

StartAPI calls StartAPIService and returns the channels

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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