maxNameLen
untyped bigintValue
(48 <untyped> bigint)
maxBioLen
untyped bigintValue
(280 <untyped> bigint)
maxURILen
untyped bigintValue
(200 <untyped> bigint)
Profile
typeProfile is one user's public card (all fields exported for LaunchInfo-style reads).
Value
profile.Profile
byAddr
v0.Tree- OID
- 09a59c…4e35:4
byAddr details
inited
boolValue
false
Init
func()Init is optional (no-op state). Kept for deploy symmetry with hub/pad.
- OID
- 09a59c…4e35:6
Init details
ensure
func()- OID
- 09a59c…4e35:8
ensure details
sanitizeText
func(s string, max int) string- OID
- 09a59c…4e35:9
sanitizeText details
SetProfile
func(name string, bio string, uri string)SetProfile upserts the caller's profile.
- OID
- 09a59c…4e35:10
SetProfile details
ClearProfile
func()ClearProfile removes the caller's profile.
- OID
- 09a59c…4e35:11
ClearProfile details
GetProfile
func(addr string) stringGetProfile returns pipe-delimited: name|bio|uri|updatedHeight Empty string if none.
- OID
- 09a59c…4e35:12
GetProfile details
HasProfile
func(addr string) boolHasProfile reports whether addr has a profile.
- OID
- 09a59c…4e35:13
HasProfile details
ProfileCount
func() intProfileCount returns number of profiles.
- OID
- 09a59c…4e35:14
ProfileCount details
sanitizeMD
func(s string) string- OID
- 09a59c…4e35:15
sanitizeMD details
Render
func(path string) stringRender home or user/{addr}
- OID
- 09a59c…4e35:16
Render details
resetForTest
func()- OID
- 09a59c…4e35:17
resetForTest details
maxNameLen
:
untyped bigint
=(48 <untyped> bigint)
maxBioLen
:
untyped bigint
=(280 <untyped> bigint)
maxURILen
:
untyped bigint
=(200 <untyped> bigint)
Profile
:
type
=profile.Profile
byAddr : v0.Tree Inspect
inited
:
bool
=false