lock

package
v3.1.0-rc3+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2019 License: BSD-3-Clause Imports: 2 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exclusive

func Exclusive(path string) (fd int, err error)

Exclusive applies an exclusive lock on path

func Release

func Release(fd int) error

Release removes a lock on path referenced by fd

Types

This section is empty.

Jump to

Keyboard shortcuts

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