Source file src/net/internal/socktest/switch_stub.go

     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>" }
    17  

View as plain text