go.nanomsg.org/mangos/v3@v3.4.3-0.20240217232803-46464076f1f5/transport/ipc/ipc_peer_unix.go (about)

     1  //go:build (!linux && !windows && !plan9 && !js && !solaris) || (solaris && !cgo)
     2  // +build !linux,!windows,!plan9,!js,!solaris solaris,!cgo
     3  
     4  // Copyright 2020 The Mangos Authors
     5  //
     6  // Licensed under the Apache License, Version 2.0 (the "License");
     7  // you may not use file except in compliance with the License.
     8  // You may obtain a copy of the license at
     9  //
    10  //    http://www.apache.org/licenses/LICENSE-2.0
    11  //
    12  // Unless required by applicable law or agreed to in writing, software
    13  // distributed under the License is distributed on an "AS IS" BASIS,
    14  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    15  // See the License for the specific language governing permissions and
    16  // limitations under the License.
    17  
    18  // Package ipc implements the IPC transport on top of UNIX domain sockets.
    19  // To enable it simply import it.
    20  package ipc
    21  
    22  import (
    23  	"go.nanomsg.org/mangos/v3/transport"
    24  	"net"
    25  )
    26  
    27  func getPeer(c *net.UnixConn, pipe transport.ConnPipe) {
    28  }