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 ( import (
"github.com/micro/go-micro/transport" "github.com/micro/go-micro/transport"

View File

@ -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

View File

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

View File

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