Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 736 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 736 Bytes

catena

go get -u github.com/codemodus/catena

Package catena aides gRPC interceptor catenation.

Usage

type UnaryServerCatena
    func NewUnaryServerCatena(is ...grpc.UnaryServerInterceptor) *UnaryServerCatena
    func (c *UnaryServerCatena) Append(is ...grpc.UnaryServerInterceptor) *UnaryServerCatena
    func (c *UnaryServerCatena) Copy(catena *UnaryServerCatena)
    func (c *UnaryServerCatena) Interceptor() grpc.UnaryServerInterceptor
    func (c *UnaryServerCatena) Merge(cs ...*UnaryServerCatena) *UnaryServerCatena
    func (c *UnaryServerCatena) ServerOption() grpc.ServerOption

Setup

soon...

More Info

Documentation

View the GoDoc