alkasir: Index | Files

package prometheusMW

import ""


Package Files


type PrometheusMiddleware Uses

type PrometheusMiddleware struct {
    ServiceName string

PrometheusMiddleware .

func (*PrometheusMiddleware) MiddlewareFunc Uses

func (mw *PrometheusMiddleware) MiddlewareFunc(handler rest.HandlerFunc) rest.HandlerFunc

MiddlewareFunc makes PrometheusMiddleware implement the rest.Middleware interface.

Package prometheusMW imports 3 packages (graph) and is imported by 1 packages. Updated 2016-07-24. Refresh now. Tools for package owners.