link
typelink is a single labeled URL on a profile.
Value
v0.link
profile
typeprofile is one address's personal links page.
Value
v0.profile
profiles
v0.Treeprofiles maps an address (string key) to its \*profile. avl.Tree keeps iteration deterministic for Render.
- OID
- 0d85ed…6336:4
profiles details
SetBio
func(bio string)SetBio sets (or replaces) the calling address's bio.
- OID
- 0d85ed…6336:5
SetBio details
AddLink
func(label string, url string)AddLink appends a labeled URL to the calling address's profile.
- OID
- 0d85ed…6336:7
AddLink details
RemoveLink
func(index int)RemoveLink deletes the link at index from the calling address's profile.
- OID
- 0d85ed…6336:8
RemoveLink details
getOrCreate
func(key string) *v0.profilegetOrCreate returns the profile for key, creating an empty one if absent.
- OID
- 0d85ed…6336:9
getOrCreate details
Render
func(path string) stringRender shows all profiles at root, or a single profile at "/\<address>".
- OID
- 0d85ed…6336:10
Render details
renderIndex
func() string- OID
- 0d85ed…6336:11
renderIndex details
renderProfile
func(addr string) string- OID
- 0d85ed…6336:12
renderProfile details
link
:
type
=v0.link
profile
:
type
=v0.profile