syncx

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ShardedLock

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

func NewShardedLock

func NewShardedLock(lockCount int) *ShardedLock

func (*ShardedLock) Lock

func (s *ShardedLock) Lock(key string)

func (*ShardedLock) RLock

func (s *ShardedLock) RLock(key string)

func (*ShardedLock) RUnlock

func (s *ShardedLock) RUnlock(key string)

func (*ShardedLock) Unlock

func (s *ShardedLock) Unlock(key string)

Jump to

Keyboard shortcuts

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