mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-24 10:07:04 +02:00
Rename to mucp transport
This commit is contained in:
parent
a0c2d18c40
commit
372ad949ff
@ -1,4 +1,4 @@
|
||||
package network
|
||||
package mucp
|
||||
|
||||
import (
|
||||
"github.com/micro/go-micro/transport"
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
package network
|
||||
package mucp
|
||||
|
||||
import (
|
||||
"errors"
|
@ -1,4 +1,4 @@
|
||||
package network
|
||||
package mucp
|
||||
|
||||
import (
|
||||
"testing"
|
Loading…
Reference in New Issue
Block a user