safesocket: delete unused function
Signed-off-by: Josh Bleecher Snyder <josharian@gmail.com>pull/1846/head
parent
f91c2dfaca
commit
737151ea4a
|
@ -11,10 +11,6 @@ import (
|
|||
"syscall"
|
||||
)
|
||||
|
||||
func path(vendor, name string, port uint16) string {
|
||||
return fmt.Sprintf("127.0.0.1:%v", port)
|
||||
}
|
||||
|
||||
func connect(path string, port uint16) (net.Conn, error) {
|
||||
pipe, err := net.Dial("tcp", fmt.Sprintf("127.0.0.1:%d", port))
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue