v1.0.0-rc1
Pre-release
Pre-release
- Breaking: Rename the
Interceptor
andFilter
types to
UnaryInboundMiddleware
andUnaryOutboundMiddleware
respectively. - Breaking:
yarpc.Config
now accepts middleware using the
InboundMiddleware
andOutboundMiddleware
fields.
Before:
yarpc.Config{Interceptor: myInterceptor, Filter: myFilter}
Now:
yarpc.Config{
InboundMiddleware: yarpc.InboundMiddleware{Unary: myInterceptor},
OutboundMiddleware: yarpc.OutboundMiddleware{Unary: myFilter},
}
- Add support for Oneway middleware via the
OnewayInboundMiddleware
and
OnewayOutboundMiddleware
interfaces.