summaryrefslogtreecommitdiffhomepage
path: root/conn/net_err_closed.go
blob: 3530aaa8f46e145ec02be268af830e65bd89de19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: MIT
 *
 * Copyright (C) 2017-2021 WireGuard LLC. All Rights Reserved.
 */

package conn

import _ "unsafe"

//TODO: replace this with net.ErrClosed for Go 1.16

//go:linkname NetErrClosed internal/poll.ErrNetClosing
var NetErrClosed error