Rename to mucp transport

This commit is contained in:
Asim Aslam 2019-07-02 00:48:15 +01:00
parent a0c2d18c40
commit 372ad949ff
4 changed files with 8 additions and 5 deletions

View File

@ -1,4 +1,4 @@
package network
package mucp
import (
"github.com/micro/go-micro/transport"

View File

@ -1,5 +1,5 @@
// Package network provides a network transport
package network
// Package mucp provides a mucp network transport
package mucp
import (
"context"
@ -14,6 +14,9 @@ import (
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 {
options transport.Options

View File

@ -1,4 +1,4 @@
package network
package mucp
import (
"errors"

View File

@ -1,4 +1,4 @@
package network
package mucp
import (
"testing"