Scalable middleware for Go applications