rlocks

package
v4.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RLocks

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

func NewRLocks

func NewRLocks() *RLocks

func (*RLocks) Append

func (rl *RLocks) Append(id string)

func (*RLocks) Exists

func (rl *RLocks) Exists(id string) bool

func (*RLocks) Len

func (rl *RLocks) Len() int

func (*RLocks) Remove

func (rl *RLocks) Remove(id string) bool

func (*RLocks) RemoveAll

func (rl *RLocks) RemoveAll() []string

Jump to

Keyboard shortcuts

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