crhttp

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package crhttp provides the HTTP handler functionality for CoreRAD.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

A Handler provides the HTTP debug API handler for CoreRAD.

func NewHandler

func NewHandler(
	ll *log.Logger,
	state system.State,
	cfg config.Config,
	prom http.Handler,
) *Handler

NewHandler creates a Handler with the specified configuration.

func (*Handler) ServeHTTP

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

Jump to

Keyboard shortcuts

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