go nettest_stub 源码

2022-07-15 浏览 (861)

golang nettest_stub 代码

文件路径:/src/vendor/golang.org/x/net/nettest/nettest_stub.go

// Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris && !windows && !zos
// +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows,!zos

package nettest

func supportsRawSocket() bool {
	return false
}

相关信息

go 源码目录

相关文章

go conntest 源码

go nettest 源码

go nettest_unix 源码

go nettest_windows 源码

  • 所属分类: 后端技术
  • 本文标签: golang
  • 版权声明: 本文链接 https://seaxiang.com/blog/809ac78db38145188c1f7c5b97adb7ba