switch to stdlib context

This commit is contained in:
Asim Aslam
2018-03-03 11:53:52 +00:00
parent 982e6068cf
commit c9b40cb33b
42 changed files with 53 additions and 102 deletions

View File

@@ -2,6 +2,7 @@ package broker
import (
"bytes"
"context"
"crypto/tls"
"errors"
"fmt"
@@ -26,8 +27,6 @@ import (
mnet "github.com/micro/misc/lib/net"
mls "github.com/micro/misc/lib/tls"
"github.com/pborman/uuid"
"golang.org/x/net/context"
)
// HTTP Broker is a point to point async broker

View File

@@ -1,11 +1,11 @@
package broker
import (
"context"
"crypto/tls"
"github.com/micro/go-micro/broker/codec"
"github.com/micro/go-micro/registry"
"golang.org/x/net/context"
)
type Options struct {