ping

package
v2.5.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	EntryPoint            string `description:"EntryPoint" export:"true" json:"entryPoint,omitempty" toml:"entryPoint,omitempty" yaml:"entryPoint,omitempty"`
	ManualRouting         bool   `` /* 135-byte string literal not displayed */
	TerminatingStatusCode int    `` /* 168-byte string literal not displayed */
	// contains filtered or unexported fields
}

Handler expose ping routes.

func (*Handler) ServeHTTP

func (h *Handler) ServeHTTP(response http.ResponseWriter, request *http.Request)

func (*Handler) SetDefaults

func (h *Handler) SetDefaults()

SetDefaults sets the default values.

func (*Handler) WithContext

func (h *Handler) WithContext(ctx context.Context)

WithContext causes the ping endpoint to serve non 200 responses.

Jump to

Keyboard shortcuts

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