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

profile

type

profile is one address's personal links page.

Value

v0.profile

profiles

v0.Tree

profiles maps an address (string key) to its \*profile. avl.Tree keeps iteration deterministic for Render.

Open
OID
0d85ed…6336:4
profiles details

Inspect ref

SetBio

func(bio string)

SetBio sets (or replaces) the calling address's bio.

Open
OID
0d85ed…6336:5
SetBio details

Inspect func

getOrCreate

func(key string) *v0.profile

getOrCreate returns the profile for key, creating an empty one if absent.

Open
OID
0d85ed…6336:9
getOrCreate details

Inspect func

Render

func(path string) string

Render shows all profiles at root, or a single profile at "/\<address>".

Open
OID
0d85ed…6336:10
Render details

Inspect func

renderProfile

func(addr string) string
Open
OID
0d85ed…6336:12
renderProfile details

Inspect func
profile : type =v0.profile
profiles : v0.Tree Inspect
SetBio : func(bio string) Inspect
getOrCreate : func(key string) *v0.profile Inspect
Render : func(path string) string Inspect
renderIndex : func() string Inspect
renderProfile : func(addr string) string Inspect