backend

package
v0.0.0-...-5e277a7 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct {
	URL   *url.URL
	Alive bool

	ReverseProxy *httputil.ReverseProxy
	// contains filtered or unexported fields
}

Backend struct

func (*Backend) IsAlive

func (b *Backend) IsAlive() bool

IsAlive returns true if the backend is alive, false otherwise

func (*Backend) SetAlive

func (b *Backend) SetAlive(alive bool)

SetAlive updates the Alive property of the backend

Jump to

Keyboard shortcuts

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