distributed

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2022 License: Unlicense Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NextValue

func NextValue(ctx context.Context, proposed uint64) (uint64, error)

Types

type Unlockable

type Unlockable struct {
	Acquired bool
	// contains filtered or unexported fields
}

func AwaitLock

func AwaitLock(ctx context.Context) (Unlockable, error)

func DL

func DL(ctx context.Context, bucket string, obj string) (Unlockable, error)

func (*Unlockable) Unlock

func (u *Unlockable) Unlock(ctx context.Context) error

Jump to

Keyboard shortcuts

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