splock

package
v0.6.13 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 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