handlers

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes2Int64 added in v0.6.2

func Bytes2Int64(b []byte) int64

Types

type ProbeHandler

type ProbeHandler struct {
	Prober

	MetricsEndpoint                string
	UseMetrics                     bool
	FinalizedBlockThresholdSeconds int64

	WsEndpoints []string
	// contains filtered or unexported fields
}

func (*ProbeHandler) ServeHTTP

func (h *ProbeHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Prober

type Prober interface {
	Probe(*ws.Conn) (int, error)
}

Jump to

Keyboard shortcuts

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