github.com/Cloud-Foundations/Dominator@v0.3.4/lib/net/vsock/stubs.go (about)

     1  //go:build !linux
     2  
     3  package vsock
     4  
     5  import "syscall"
     6  
     7  func checkVsockets() error {
     8  	return syscall.ENOTSUP
     9  }
    10  
    11  func getContextID() (uint32, error) {
    12  	return 0, syscall.ENOTSUP
    13  }