github.com/flyinox/gosm@v0.0.0-20171117061539-16768cb62077/src/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>" }