remove this code

This commit is contained in:
Asim Aslam
2019-07-31 17:19:49 +01:00
parent 679c5f0ccd
commit cdf0f14d58
3 changed files with 0 additions and 264 deletions

View File

@@ -1,23 +0,0 @@
// Package network is for building peer to peer networks
package network
// Network is a
type Network interface {
// Name of the network
Name() string
// Connect starts the network node
Connect() error
// Close shutsdown the network node
Close() error
}
var (
DefaultName = "go.micro.network"
DefaultAddress = ":0"
DefaultNetwork = NewNetwork()
)
// NewNetwork returns a new network interface
func NewNetwork(opts ...Option) Network {
return newNetwork(opts...)
}