idlewatcher

package
v0.0.0-...-64e30f5 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start()

func Stop

func Stop()

Types

type StopCallback

type StopCallback func() E.NestedError

type WakeDone

type WakeDone <-chan error

type WakeFunc

type WakeFunc func() WakeDone

type Waker

type Waker struct {
	*Watcher
	// contains filtered or unexported fields
}

func NewWaker

func NewWaker(w *Watcher, rp *gphttp.ReverseProxy) *Waker

func (*Waker) ServeHTTP

func (w *Waker) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type Watcher

type Watcher struct {
	*P.ReverseProxyEntry
	// contains filtered or unexported fields
}

func Register

func Register(entry *P.ReverseProxyEntry) (*Watcher, E.NestedError)

func (*Watcher) Unregister

func (w *Watcher) Unregister()

Jump to

Keyboard shortcuts

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