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

v1 state

Back to all declarations

selfPath

untyped string

selfPath is this realm's own page. A root-relative link resolves against the domain, not the realm, so every link back into it names it in full.

Value

"/r/moul/x/daily/vault/v1"

vaults

v0.Tree

vaults maps address string -> \*avl.Tree (key string -> value string).

Open
OID
002685…7dbe:4
vaults details

Inspect ref

MaxVaults

untyped bigint

The bounds on what a caller may store. Anyone may open a vault, the root page lists every vault, and a vault's page lists every entry.

Value

(1000 <untyped> bigint)

MaxEntries

untyped bigint

// per vault

Value

(100 <untyped> bigint)

MaxKeyLen

untyped bigint

The bounds on what a caller may store. Anyone may open a vault, the root page lists every vault, and a vault's page lists every entry.

Value

(64 <untyped> bigint)

MaxValueLen

untyped bigint

The bounds on what a caller may store. Anyone may open a vault, the root page lists every vault, and a vault's page lists every entry.

Value

(512 <untyped> bigint)

vaultFor

func(owner .uverse.address) *v0.Tree

vaultFor returns the caller's namespace tree, creating it if needed.

Open
OID
002685…7dbe:5
vaultFor details

Inspect func

Set

func(key string, value string)

Set stores value under key in the caller's own namespace.

Open
OID
002685…7dbe:7
Set details

Inspect func

Delete

func(key string)

Delete removes key from the caller's own namespace.

Open
OID
002685…7dbe:8
Delete details

Inspect func

Render

func(path string) string

Render shows all vaults (root) or a single address's entries ("/\<address>").

Open
OID
002685…7dbe:9
Render details

Inspect func

renderAddress

func(addr string) string
Open
OID
002685…7dbe:11
renderAddress details

Inspect func
selfPath : untyped string ="/r/moul/x/daily/vault/v1"
vaults : v0.Tree Inspect
MaxVaults : untyped bigint =(1000 <untyped> bigint)
MaxEntries : untyped bigint =(100 <untyped> bigint)
MaxKeyLen : untyped bigint =(64 <untyped> bigint)
MaxValueLen : untyped bigint =(512 <untyped> bigint)
vaultFor : func(owner .uverse.address) *v0.Tree Inspect
Set : func(key string, value string) Inspect
Delete : func(key string) Inspect
Render : func(path string) string Inspect
renderRoot : func() string Inspect
renderAddress : func(addr string) string Inspect
caller : func() .uverse.address Inspect