github.com/imannamdari/v2ray-core/v5@v5.0.5/transport/internet/filelocker.go (about)

     1  package internet
     2  
     3  import (
     4  	"os"
     5  )
     6  
     7  // FileLocker is UDS access lock
     8  type FileLocker struct {
     9  	path string
    10  	file *os.File
    11  }