github.com/ice-blockchain/go/src@v0.0.0-20240403114104-1564d284e521/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 //go: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>" }