handlers

package
v0.0.0-...-c50d277 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Web

func Web(shutdown chan os.Signal, log *log.Logger, db driver.Database, templateDir string) http.Handler

Web constructs an http.Handler with all application routes defined.

Types

type Check

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

Check provides support for orchestration health checks.

func (*Check) Health

func (c *Check) Health(ctx context.Context, w http.ResponseWriter, r *http.Request) error

Health validates the service is healthy and ready to accept requests.

type ProvPages

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

ProvPages represents the pages that interact with provenance.

func (*ProvPages) Home

Home provides the default home page.

Jump to

Keyboard shortcuts

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