handlers

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2017 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth(accessKey string, w http.ResponseWriter, req *http.Request) (passed bool)

Auth checks if client supplied proper access key and responds with HTTP 401 if authorization fails. Returns true if authorization was successful

func Healthz

func Healthz(clusterHealth pb.Probe, w http.ResponseWriter, req *http.Request)

Healthz sends health status to client

Types

This section is empty.

Jump to

Keyboard shortcuts

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