github.com/c12o16h1/go/src@v0.0.0-20200114212001-5a151c0f00ed/net/internal/socktest/switch_stub.go (about) 1 // Copyright 2015 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // +build plan9 6 7 package socktest 8 9 // Sockets maps a socket descriptor to the status of socket. 10 type Sockets map[int]Status 11 12 func familyString(family int) string { return "<nil>" } 13 14 func typeString(sotype int) string { return "<nil>" } 15 16 func protocolString(proto int) string { return "<nil>" }