splock

package
v0.7.8 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LockKey

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

type LockValue

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

type SPLOCK

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

====================================================================

func New

func New() *SPLOCK

func (*SPLOCK) GetSPLockMapStatus

func (spLock *SPLOCK) GetSPLockMapStatus(lockName string) string

func (*SPLOCK) Lock

func (spLock *SPLOCK) Lock(conn string, id string)

func (*SPLOCK) RLock

func (spLock *SPLOCK) RLock(conn string, id string)

func (*SPLOCK) RUnlock

func (spLock *SPLOCK) RUnlock(conn string, id string)

func (*SPLOCK) Unlock

func (spLock *SPLOCK) Unlock(conn string, id string)

Jump to

Keyboard shortcuts

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