Help us shape the future of Go! Take the 2026 Go Developer Survey

processlock

package
v1.1.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lock

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

func Acquire

func Acquire(ctx context.Context, path string) (*Lock, error)

func TryAcquire

func TryAcquire(path string) (*Lock, bool, error)

func (*Lock) Release

func (lock *Lock) Release() error

Jump to

Keyboard shortcuts

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