selfPath
untyped stringselfPath 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/linktree/v1"
link
typelink is a single labeled URL on a profile.
Value
v1.link
profile
typeprofile is one address's personal links page.
Value
v1.profile
profiles
v0.Treeprofiles maps an address (string key) to its \*profile. avl.Tree keeps iteration deterministic for Render.
- OID
- 0f038f…b783:4
profiles details
MaxProfiles
untyped bigintThe bounds on what a caller may store. Anyone may create a profile, and the root page lists every profile while a profile page lists every link.
Value
(1000 <untyped> bigint)
MaxLinks
untyped bigintThe bounds on what a caller may store. Anyone may create a profile, and the root page lists every profile while a profile page lists every link.
Value
(20 <untyped> bigint)
MaxBioLen
untyped bigintThe bounds on what a caller may store. Anyone may create a profile, and the root page lists every profile while a profile page lists every link.
Value
(280 <untyped> bigint)
MaxLabelLen
untyped bigintThe bounds on what a caller may store. Anyone may create a profile, and the root page lists every profile while a profile page lists every link.
Value
(64 <untyped> bigint)
MaxURLLen
untyped bigintThe bounds on what a caller may store. Anyone may create a profile, and the root page lists every profile while a profile page lists every link.
Value
(512 <untyped> bigint)
SetBio
func(bio string)SetBio sets (or replaces) the calling address's bio.
- OID
- 0f038f…b783:5
SetBio details
AddLink
func(label string, url string)AddLink appends a labeled URL to the calling address's profile.
- OID
- 0f038f…b783:7
AddLink details
RemoveLink
func(index int)RemoveLink deletes the link at index from the calling address's profile.
- OID
- 0f038f…b783:8
RemoveLink details
getOrCreate
func(key string) *v1.profilegetOrCreate returns the profile for key, creating an empty one if absent.
- OID
- 0f038f…b783:9
getOrCreate details
Render
func(path string) stringRender shows all profiles at root, or a single profile at "/\<address>".
- OID
- 0f038f…b783:10
Render details
renderIndex
func() string- OID
- 0f038f…b783:11
renderIndex details
renderProfile
func(addr string) string- OID
- 0f038f…b783:12
renderProfile details
caller
func() .uverse.address- OID
- 0f038f…b783:13
caller details
safeURL
func(u string) boolsafeURL reports whether u can be written into a markdown link destination unescaped.
- OID
- 0f038f…b783:14