ping

package
v2.0.0-alpha8+incompat... Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2019 License: MIT Imports: 4 Imported by: 0

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   `` /* 128-byte string literal not displayed */
	Middlewares []string `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

Handler expose ping routes.

func (*Handler) Append

func (h *Handler) Append(router *mux.Router)

Append adds ping routes on a router.

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