github.com/xmplusdev/xmcore@v1.8.11-0.20240412132628-5518b55526af/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  }