You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package mock
|
|
|
|
// NetAddr mock the net.Addr interface
|
|
type NetAddr struct{}
|
|
|
|
// Network implements the net.Addr interface
|
|
func (a NetAddr) Network() string { return "mock" }
|
|
|
|
// String implements the net.Addr interface
|
|
func (a NetAddr) String() string { return "mock-addr" }
|