mirror of
https://github.com/soheilhy/cmux.git
synced 2025-01-18 18:56:26 +08:00
Update to correct vanity import paths.
The latest canonical import path for http2 package is "golang.org/x/net/http2". The latest canonical import path for grpc examples is "google.golang.org/grpc/examples/...".
This commit is contained in:
parent
1734b4cc90
commit
44b568c84b
@ -13,8 +13,8 @@ import (
|
||||
"golang.org/x/net/context"
|
||||
"golang.org/x/net/websocket"
|
||||
|
||||
grpchello "github.com/grpc/grpc-go/examples/helloworld/helloworld"
|
||||
"github.com/soheilhy/cmux"
|
||||
grpchello "google.golang.org/grpc/examples/helloworld/helloworld"
|
||||
)
|
||||
|
||||
type exampleHTTPHandler struct{}
|
||||
|
@ -8,8 +8,8 @@ import (
|
||||
"net/http"
|
||||
"strings"
|
||||
|
||||
"github.com/bradfitz/http2"
|
||||
"github.com/bradfitz/http2/hpack"
|
||||
"golang.org/x/net/http2"
|
||||
"golang.org/x/net/http2/hpack"
|
||||
)
|
||||
|
||||
// Any is a Matcher that matches any connection.
|
||||
|
Loading…
Reference in New Issue
Block a user