example

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const LockIDX = "X"
View Source
const LockIDY = "Y"

Variables

This section is empty.

Functions

func LowLevelOperationX

func LowLevelOperationX(ctx lockctx.Proof) error

LowLevelOperationX is an operation that must be called while a specific lock is held.

func LowLevelOperationY

func LowLevelOperationY(ctx lockctx.Proof) error

LowLevelOperationY is an operation that must be called while a specific lock is held.

Types

type HighLevelComponent

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

HighLevelComponent is a component which performs complex operations requiring multiple locks.

func (*HighLevelComponent) DoSomething

func (c *HighLevelComponent) DoSomething() error

Jump to

Keyboard shortcuts

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