azure

package
v0.0.0-...-9d61cdf Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TABLE_NAME = "DIGGERLOCK"
)

Variables

View Source
var (
	SERVICE_URL_FORMAT = "https://%s.table.core.windows.net"
)

Functions

This section is empty.

Types

type StorageAccount

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

func NewStorageAccountLock

func NewStorageAccountLock() (*StorageAccount, error)

func (*StorageAccount) GetLock

func (sal *StorageAccount) GetLock(resource string) (*int, error)

func (*StorageAccount) Lock

func (sal *StorageAccount) Lock(transactionId int, resource string) (bool, error)

func (*StorageAccount) Unlock

func (sal *StorageAccount) Unlock(resource string) (bool, error)

Jump to

Keyboard shortcuts

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