# Packages

No description provided by the author
No description provided by the author

# README

Lager gRPC Middleware

Middlewares for gRPC Go based off of grpc-ecosystem/go-grpc-middleware

Note: This library currently does not support streams or stream interceptors

Usage example:

import (
    "github.com/grpc-ecosystem/go-grpc-middleware"
    "github.com/Unity-Technologies/go-lager-internal/grpc_lager"
)

myServer := grpc.NewServer(
    grpc.UnaryInterceptor(grpc_middleware.ChainUnaryServer(
        grpc_ctxtags.UnaryServerInterceptor(),
        grpc_lager.UnaryServerInterceptor(),
        grpc_lager.PayloadUnaryServerInterceptor(deciderFunction)
    )),
)