flock

package
v0.0.0-...-36802ff Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2020 License: MIT Imports: 6 Imported by: 0

README

flock

godoc

flock AFAIRE

Documentation

Overview

Package flock AFAIRE

Package flock AFAIRE

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	// contains filtered or unexported fields
}

File AFAIRE

func New

func New(rootDir, file string) (*File, error)

New AFAIRE

func (*File) RLock

func (f *File) RLock(timeout time.Duration, cError bool) (bool, error)

RLock AFAIRE

func (*File) Unlock

func (f *File) Unlock() error

Unlock AFAIRE

func (*File) WLock

func (f *File) WLock(timeout time.Duration, cError bool) (bool, error)

WLock AFAIRE

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL