handlers

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package handlers contains a specific handlers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMessageHTML added in v1.9.3

func GetMessageHTML(w http.ResponseWriter, r *http.Request)

GetMessageHTML (method: GET) returns a rendered version of a message's HTML part

func GetMessageText added in v1.9.3

func GetMessageText(w http.ResponseWriter, r *http.Request)

GetMessageText (method: GET) returns a message's text part

func HealthzHandler

func HealthzHandler(w http.ResponseWriter, _ *http.Request)

HealthzHandler is a liveness probe

func ProxyHandler added in v1.8.3

func ProxyHandler(w http.ResponseWriter, r *http.Request)

ProxyHandler is used to proxy assets for printing

func ReadyzHandler

func ReadyzHandler(isReady *atomic.Value) http.HandlerFunc

ReadyzHandler is a ready probe that signals k8s to be able to retrieve traffic

func RedirectToLatestMessage added in v1.10.0

func RedirectToLatestMessage(w http.ResponseWriter, r *http.Request)

RedirectToLatestMessage (method: GET) redirects the web UI to the latest message

Types

This section is empty.

Jump to

Keyboard shortcuts

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