dummies

package
v0.0.0-...-a8f6685 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendRunner

type BackendRunner struct {
	// contains filtered or unexported fields
}

func NewBackendRunner

func NewBackendRunner(index uint, backend config.Backend) *BackendRunner

func (*BackendRunner) Run

func (fb *BackendRunner) Run(signals <-chan os.Signal, ready chan<- struct{}) error

type HealthcheckRunner

type HealthcheckRunner struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewHealthcheckRunner

func NewHealthcheckRunner(backend config.Backend, index int) *HealthcheckRunner

func (*HealthcheckRunner) Run

func (fh *HealthcheckRunner) Run(signals <-chan os.Signal, ready chan<- struct{}) error

func (*HealthcheckRunner) SetHang

func (fh *HealthcheckRunner) SetHang(hang bool)

func (*HealthcheckRunner) SetStatusCode

func (fh *HealthcheckRunner) SetStatusCode(statusCode int)

Jump to

Keyboard shortcuts

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