middleware

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2017 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SubjDeleteUser = "users.delete"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Middleware

type Middleware func(usersvc.Service) usersvc.Service

func Instrumenting

func Instrumenting(
	requestCount metrics.Counter,
	requestLatency metrics.Histogram,
) Middleware

func Logging

func Logging(logger log.Logger) Middleware

func Messaging

func Messaging(nc *nats.Conn) Middleware

Jump to

Keyboard shortcuts

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