sync

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SubjectLock

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

SubjectLock creates an atomic lock on a specific subject

func NewSubjectLock

func NewSubjectLock() *SubjectLock

func (*SubjectLock) Lock

func (r *SubjectLock) Lock(subject string)

func (*SubjectLock) Unlock

func (r *SubjectLock) Unlock(subject string)

Jump to

Keyboard shortcuts

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