helpers

package
v0.111.3 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KillExistingHooksProcess added in v0.110.2

func KillExistingHooksProcess(serverListenPort int, log abstractlogger.Logger)

KillExistingHooksProcess kills the existing hooks process before we start the new one some IDEs, like Goland, don't send a SIGINT to the process group this leads to the middleware hooks server (sub-process) not being killed on subsequent runs of the up command, we're not able to listen on the same port

func ServerPortFromConfig added in v0.110.2

func ServerPortFromConfig(configJsonPath string) (int, error)

Types

type ServerRunConfig

type ServerRunConfig struct {
	WunderGraphDirAbs string
	ServerScriptFile  string
	Production        bool
}

Jump to

Keyboard shortcuts

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