Rename to mucp transport
This commit is contained in:
parent
a0c2d18c40
commit
372ad949ff
@ -1,4 +1,4 @@
|
|||||||
package network
|
package mucp
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/micro/go-micro/transport"
|
"github.com/micro/go-micro/transport"
|
@ -1,5 +1,5 @@
|
|||||||
// Package network provides a network transport
|
// Package mucp provides a mucp network transport
|
||||||
package network
|
package mucp
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
@ -14,6 +14,9 @@ import (
|
|||||||
|
|
||||||
type networkKey struct{}
|
type networkKey struct{}
|
||||||
|
|
||||||
|
// Transport is a mucp transport. It should only
|
||||||
|
// be created with NewTransport and cast to
|
||||||
|
// *Transport if there's a need to close it.
|
||||||
type Transport struct {
|
type Transport struct {
|
||||||
options transport.Options
|
options transport.Options
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package network
|
package mucp
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
@ -1,4 +1,4 @@
|
|||||||
package network
|
package mucp
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
Loading…
Reference in New Issue
Block a user