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