api

package
v0.1.4 Latest Latest
Warning

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

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

Documentation

Overview

Package api provides the handlers for the Vela API.

Usage:

import "github.com/go-vela/worker/api"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Health

func Health(c *gin.Context)

Health check the status of the application

func Metrics

func Metrics() http.Handler

Metrics returns a Prometheus handler for serving go metrics

Types

This section is empty.

Jump to

Keyboard shortcuts

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