Directories
¶
| Path | Synopsis |
|---|---|
|
Package bom rolls up a bill of materials by tail recursion, as a state machine.
|
Package bom rolls up a bill of materials by tail recursion, as a state machine. |
|
rollup
Package rollup is the holder for package bom.
|
Package rollup is the holder for package bom. |
|
Package fib computes Fibonacci numbers by tail recursion, as a state machine:
|
Package fib computes Fibonacci numbers by tail recursion, as a state machine: |
|
cmd/fib
command
Command fib prints the nth Fibonacci number.
|
Command fib prints the nth Fibonacci number. |
|
mutex
|
|
|
client
Package client is one client of a lock server: it asks for the lock, holds it once granted, and releases it.
|
Package client is one client of a lock server: it asks for the lock, holds it once granted, and releases it. |
|
Package order is a payment-order state machine: submit a charge to a provider, resend on timeout up to MaxRetries, and finish as Paid, Failed or Cancelled.
|
Package order is a payment-order state machine: submit a charge to a provider, resend on timeout up to MaxRetries, and finish as Paid, Failed or Cancelled. |
|
cmd/orderd
command
Command orderd drives one order from commands on standard input ("submit", "ack", "cancel"), with a real timer for timeouts.
|
Command orderd drives one order from commands on standard input ("submit", "ack", "cancel"), with a real timer for timeouts. |
|
Package turnstile is the smallest machine merilo checks: one mode, no actions, so Fire returns only the next machine and the outcome.
|
Package turnstile is the smallest machine merilo checks: one mode, no actions, so Fire returns only the next machine and the outcome. |
|
twophase
|
|
|
coord
Package coord is a two-phase-commit coordinator for two participants.
|
Package coord is a two-phase-commit coordinator for two participants. |
|
Package watchdog fires when it is not kicked in time.
|
Package watchdog fires when it is not kicked in time. |
Click to show internal directories.
Click to hide internal directories.