switch_stub.go 455 B

12345678910111213141516
  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. //go:build plan9
  5. package socktest
  6. // Sockets maps a socket descriptor to the status of socket.
  7. type Sockets map[int]Status
  8. func familyString(family int) string { return "<nil>" }
  9. func typeString(sotype int) string { return "<nil>" }
  10. func protocolString(proto int) string { return "<nil>" }