Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService() pb.MiddlewaresTestServer
NewService returns a naïve, stateless implementation of Service.
func WrapEndpoints ¶
WrapEndpoints accepts the service's entire collection of endpoints, so that a set of middlewares can be wrapped around every middleware (e.g., access logging and instrumentation), and others wrapped selectively around some endpoints and not others (e.g., endpoints requiring authenticated access). Note that the final middleware applied will be the outermost middleware (i.e. applied first)
func WrapService ¶
func WrapService(in pb.MiddlewaresTestServer) pb.MiddlewaresTestServer
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.