mirror of
https://github.com/soheilhy/cmux.git
synced 2024-11-09 19:21:52 +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/context"
|
||||||
"golang.org/x/net/websocket"
|
"golang.org/x/net/websocket"
|
||||||
|
|
||||||
grpchello "github.com/grpc/grpc-go/examples/helloworld/helloworld"
|
|
||||||
"github.com/soheilhy/cmux"
|
"github.com/soheilhy/cmux"
|
||||||
|
grpchello "google.golang.org/grpc/examples/helloworld/helloworld"
|
||||||
)
|
)
|
||||||
|
|
||||||
type exampleHTTPHandler struct{}
|
type exampleHTTPHandler struct{}
|
||||||
|
@ -8,8 +8,8 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/bradfitz/http2"
|
"golang.org/x/net/http2"
|
||||||
"github.com/bradfitz/http2/hpack"
|
"golang.org/x/net/http2/hpack"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Any is a Matcher that matches any connection.
|
// Any is a Matcher that matches any connection.
|
||||||
|
Loading…
Reference in New Issue
Block a user