alkasir: github.com/alkasir/alkasir/pkg/shared/middlewares/prometheusMW Index | Files

package prometheusMW

import "github.com/alkasir/alkasir/pkg/shared/middlewares/prometheusMW"

Index

Package Files

prometheusMW.go

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.