mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
6424c7a875
Fix all golint warnings, mostly by making exported types internal. Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
21 lines
366 B
Go
21 lines
366 B
Go
package bridge
|
|
|
|
import "github.com/docker/libnetwork"
|
|
|
|
type bridgeNetwork struct {
|
|
Config Configuration
|
|
NetworkName string
|
|
}
|
|
|
|
func (b *bridgeNetwork) Name() string {
|
|
return b.NetworkName
|
|
}
|
|
|
|
func (b *bridgeNetwork) Type() string {
|
|
return networkType
|
|
}
|
|
|
|
func (b *bridgeNetwork) Link(name string) ([]*libnetwork.Interface, error) {
|
|
// TODO
|
|
return nil, nil
|
|
}
|