Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

v0 state

Back to all declarations

capsule

type

Value

v0.capsule

capsules

v0.Tree

// key: zero-padded id -> \*capsule

Open
OID
06c5d5…faf8:4
capsules details

Inspect ref

nextID

int64

Value

0

maxDelayBlocks

int64

Value

1000000

maxMessageLen

int

Value

500

Leave

func(message string, delayBlocks int64) int64

Leave seals a new message that stays hidden until \`delayBlocks\` blocks from now, then becomes publicly readable forever. Returns the capsule id.

Open
OID
06c5d5…faf8:6
Leave details

Inspect func

renderCapsule

func(idStr string) string
Open
OID
06c5d5…faf8:12
renderCapsule details

Inspect func

renderEntry

func(c *v0.capsule) string
Open
OID
06c5d5…faf8:13
renderEntry details

Inspect func
capsule : type =v0.capsule
capsules : v0.Tree Inspect
nextID : int64 =0
maxDelayBlocks : int64 =1000000
maxMessageLen : int =500
Leave : func(message string, delayBlocks int64) int64 Inspect
idKey : func(id int64) string Inspect
Render : func(path string) string Inspect
renderHome : func() string Inspect
renderSealed : func() string Inspect
renderCapsule : func(idStr string) string Inspect
renderEntry : func(c *v0.capsule) string Inspect