Beispiel #1
0
// DefaultClientMiddleware returns the complement of client middleware provided by Mercury
func DefaultClientMiddleware() []client.ClientMiddleware {
	return []client.ClientMiddleware{
		requesttree.Middleware()}
}
Beispiel #2
0
// DefaultServerMiddleware returns the complement of server middleware provided by Mercury
func DefaultServerMiddleware() []server.ServerMiddleware {
	return []server.ServerMiddleware{
		requesttree.Middleware()}
}