local

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() widelock.MutexSet

func WithDuration

func WithDuration(d time.Duration) widelock.Option

WithDuration set duration for sustaining the lock. It start from lock really obtained.

func WithExpiry

func WithExpiry(e time.Time) widelock.Option

WithExpiry set expiry for lock. It would be covered by duration if set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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