capsule
typeValue
v0.capsule
capsules
v0.Tree// key: zero-padded id -> \*capsule
- OID
- 06c5d5…faf8:4
capsules details
nextID
int64Value
0
maxDelayBlocks
int64Value
1000000
maxMessageLen
intValue
500
Leave
func(message string, delayBlocks int64) int64Leave seals a new message that stays hidden until \`delayBlocks\` blocks from now, then becomes publicly readable forever. Returns the capsule id.
- OID
- 06c5d5…faf8:6
Leave details
idKey
func(id int64) string- OID
- 06c5d5…faf8:8
idKey details
Render
func(path string) string- OID
- 06c5d5…faf8:9
Render details
renderHome
func() string- OID
- 06c5d5…faf8:10
renderHome details
renderSealed
func() string- OID
- 06c5d5…faf8:11
renderSealed details
renderCapsule
func(idStr string) string- OID
- 06c5d5…faf8:12
renderCapsule details
renderEntry
func(c *v0.capsule) string- OID
- 06c5d5…faf8:13
renderEntry details
capsule
:
type
=v0.capsule
capsules : v0.Tree Inspect
nextID
:
int64
=0
maxDelayBlocks
:
int64
=1000000
maxMessageLen
:
int
=500