common

package
v0.0.0-...-298fb53 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashToUint32

func HashToUint32(data []byte) uint32

func SanitizeVolumeID

func SanitizeVolumeID(volumeID string) string

func VolumeIDToBucketPrefix

func VolumeIDToBucketPrefix(volumeID string) (string, string)

Types

type KeyMutex

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

func NewKeyMutex

func NewKeyMutex(size int32) *KeyMutex

func (*KeyMutex) GetMutex

func (km *KeyMutex) GetMutex(key string) *sync.RWMutex

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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